You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i use tracing system,and i find a trace has a problem. So,i search the logs in ELK .But ,i find it is so hard to search the logs related to that trace,because there is no trace id in logs.So i can not find related logs by trace id.
so,colud put SpanContext(include traceId,spanId,parentId,flag) in MDC,i can format the log from the MDC.And then I can search the log by trace id
The text was updated successfully, but these errors were encountered:
This will only be possible once opentracing/opentracing-java#280 has been released (v0.32.0). Currently the traceId and spanId are not available via the OpenTracing API.
Suppose this situation:
when i use tracing system,and i find a trace has a problem. So,i search the logs in ELK .But ,i find it is so hard to search the logs related to that trace,because there is no trace id in logs.So i can not find related logs by trace id.
so,colud put SpanContext(include traceId,spanId,parentId,flag) in MDC,i can format the log from the MDC.And then I can search the log by trace id
The text was updated successfully, but these errors were encountered: