日志添加 traceId

This commit is contained in:
gong
2025-10-30 14:05:03 +08:00
parent 6fe5149412
commit 50730ce702
12 changed files with 119 additions and 10 deletions

View File

@@ -8,6 +8,17 @@ spring:
active: dev
include: tools
# TraceID
management:
tracing:
enabled: true
sampling:
probability: 1.0 # 100% 采样,生产可降低
zipkin:
tracing:
endpoint: http://192.168.1.42:9411/api/v2/spans
logging:
config: classpath:logback.xml