日志添加 traceId
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user