Closed josephearl closed 3 years ago
I have an express app endpoint which
What I observe:
What I expect:
External service receives traceId 9bc2310170da41b7, log after receiving response has same traceId 9bc2310170da41b7 (it is all part of the same trace)
Same tracer instance is shared between expressMiddleware and wrapAxios.
Fixed by using CLSContext
I have an express app endpoint which
What I observe:
What I expect:
External service receives traceId 9bc2310170da41b7, log after receiving response has same traceId 9bc2310170da41b7 (it is all part of the same trace)
Same tracer instance is shared between expressMiddleware and wrapAxios.