Add traceId to the response headers (#919)
* Add traceId to the request headers * Add test cases * Update refactor code
This commit is contained in:
@@ -14,6 +14,6 @@ func (sc spanContext) SpanId() string {
|
||||
}
|
||||
|
||||
func (sc spanContext) Visit(fn func(key, val string) bool) {
|
||||
fn(traceIdKey, sc.traceId)
|
||||
fn(TraceIdKey, sc.traceId)
|
||||
fn(spanIdKey, sc.spanId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user