From 075d655bc29a74b2769f487886c9d5864cc1cb1f Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Sun, 29 Sep 2024 11:01:58 +0200 Subject: [PATCH] [SIS-xxx] instrumentation config --- .../src/main/resources/application.properties | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/application/executable/src/main/resources/application.properties b/application/executable/src/main/resources/application.properties index 40929fb8..47db2e51 100644 --- a/application/executable/src/main/resources/application.properties +++ b/application/executable/src/main/resources/application.properties @@ -7,8 +7,16 @@ spring.jpa.properties.hibernate.default_schema=${DB_SCHEMA} spring.quartz.jdbc.initialize-schema=never management.metrics.tags.application=Sissi management.endpoint.health.probes.enabled=true +management.endpoints.web.exposure.include=health, info, metrics, prometheus +management.metrics.distribution.percentiles-histogram.http.server.requests=true +management.observations.key-values.application=Sissi +management.zipkin.tracing.endpoint=http://tempo.tempo.svc.cluster.local:9411/api/v2/spans +management.tracing.sampling.probability=1.0 management.health.livenessState.enabled=true management.health.readinessState.enabled=true spring.application.name=Sissi -spring.main.allow-circular-references=true \ No newline at end of file +spring.main.allow-circular-references=true +logging.pattern.correlation=[${spring.application.name:},%X{traceId:-},%X{spanId:-}] +logging.include-application-name=false +management.observations.annotations.enabled=true \ No newline at end of file