mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
attach context with span to *http.Request
This commit is contained in:
parent
3c8133aa4b
commit
d55b49b7b7
@ -22,7 +22,7 @@ func RequestTracing() macaron.Handler {
|
||||
defer span.Finish()
|
||||
|
||||
ctx := opentracing.ContextWithSpan(req.Context(), span)
|
||||
req = req.WithContext(ctx)
|
||||
c.Req.Request = req.WithContext(ctx)
|
||||
|
||||
c.Next()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user