RED-10508: activate tracing

This commit is contained in:
maverickstuder 2024-11-22 12:18:15 +01:00
parent 2d66b1e5d4
commit b579b9021e
2 changed files with 13 additions and 0 deletions

View File

@ -36,6 +36,9 @@ dependencies {
implementation("com.knecon.fforesight:keycloak-commons:0.30.0") {
exclude(group = "com.knecon.fforesight", module = "tenant-commons")
}
implementation("com.knecon.fforesight:tracing-commons:0.5.0")
implementation("com.knecon.fforesight:lifecycle-commons:0.7.0")
implementation("com.knecon.fforesight:tenant-commons:0.30.0")
implementation("com.knecon.fforesight:swagger-commons:0.7.0")
implementation("ch.qos.logback:logback-classic")

View File

@ -63,3 +63,13 @@ keyword-service:
url: "http://keyword-extraction-service:8080"
cors.enabled: true
management:
tracing:
enabled: ${TRACING_ENABLED:false}
sampling:
probability: ${TRACING_PROBABILITY:1.0}
otlp:
tracing:
endpoint: ${OTLP_ENDPOINT:http://otel-collector-opentelemetry-collector.otel-collector:4318/v1/traces}