Explicitly enabled tracing in app classpath application.yaml
This commit is contained in:
parent
64a6af780b
commit
9598b375ab
@ -1,3 +1,4 @@
|
||||
logging.pattern.level: "%5p [${spring.application.name},%X{traceId:-},%X{spanId:-}]"
|
||||
|
||||
management:
|
||||
endpoint:
|
||||
@ -6,6 +7,12 @@ management:
|
||||
health.enabled: true
|
||||
endpoints.web.exposure.include: prometheus, health, metrics
|
||||
metrics.export.prometheus.enabled: ${monitoring.enabled:false}
|
||||
tracing:
|
||||
sampling:
|
||||
probability: 1.0
|
||||
otlp:
|
||||
tracing:
|
||||
endpoint: http://otel-collector:4318/v1/traces
|
||||
|
||||
info:
|
||||
description: Tenant User Management Service
|
||||
@ -14,6 +21,8 @@ server:
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: tenant-user-management
|
||||
datasource:
|
||||
url: jdbc:postgresql://${PSQL_HOST:localhost}:${PSQL_PORT:5432}/${PSQL_DATABASE:master}?ApplicationName=${spring.application.name:}&cachePrepStmts=true&useServerPrepStmts=true&rewriteBatchedStatements=true
|
||||
driverClassName: org.postgresql.Driver
|
||||
@ -73,8 +82,6 @@ spring:
|
||||
liquibase:
|
||||
change-log: classpath:/db/changelog/db.changelog-master.yaml
|
||||
enabled: true
|
||||
application:
|
||||
name: tenant-user-management
|
||||
data:
|
||||
redis:
|
||||
host: ${REDIS_HOST:localhost}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user