Fix extraction for zipkin tracing

This commit is contained in:
José Carlos Chávez 2019-12-02 14:18:08 +01:00 committed by Traefiker Bot
parent 2af8589afd
commit 78097b96c9
5 changed files with 9 additions and 30 deletions

View file

@ -134,7 +134,7 @@ func InjectRequestHeaders(r *http.Request) {
err := opentracing.GlobalTracer().Inject(
span.Context(),
opentracing.HTTPHeaders,
HTTPHeadersCarrier(r.Header))
opentracing.HTTPHeadersCarrier(r.Header))
if err != nil {
log.FromContext(r.Context()).Error(err)
}