Add Tracing
This commit is contained in:
parent
30f060e36c
commit
ff9dd90234
@ -21,6 +21,7 @@ dependencies {
|
|||||||
|
|
||||||
implementation("com.iqser.red.commons:storage-commons:2.45.0")
|
implementation("com.iqser.red.commons:storage-commons:2.45.0")
|
||||||
implementation("com.knecon.fforesight:tenant-commons:0.14.0")
|
implementation("com.knecon.fforesight:tenant-commons:0.14.0")
|
||||||
|
implementation("com.knecon.fforesight:tracing:0.5.0")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-actuator:3.1.3")
|
implementation("org.springframework.boot:spring-boot-starter-actuator:3.1.3")
|
||||||
implementation("com.amazonaws:aws-java-sdk-s3:1.12.536")
|
implementation("com.amazonaws:aws-java-sdk-s3:1.12.536")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-amqp:3.1.3")
|
implementation("org.springframework.boot:spring-boot-starter-amqp:3.1.3")
|
||||||
|
|||||||
@ -5,6 +5,8 @@ tenant-user-management-service.url: "http://tenant-user-management-service:8080/
|
|||||||
|
|
||||||
fforesight.tenants.remote: true
|
fforesight.tenants.remote: true
|
||||||
|
|
||||||
|
logging.pattern.level: "%5p [${spring.application.name},%X{traceId:-},%X{spanId:-}]"
|
||||||
|
|
||||||
server:
|
server:
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|
||||||
@ -32,6 +34,13 @@ management:
|
|||||||
prometheus.enabled: ${monitoring.enabled:false}
|
prometheus.enabled: ${monitoring.enabled:false}
|
||||||
health.enabled: true
|
health.enabled: true
|
||||||
endpoints.web.exposure.include: prometheus, health
|
endpoints.web.exposure.include: prometheus, health
|
||||||
|
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}
|
||||||
|
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user