Skip to content

Commit

Permalink
fix: respect incoming spans
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
  • Loading branch information
rustatian committed May 13, 2022
1 parent b23c153 commit 7d9e94d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ func wrapper(prop propagation.TextMapPropagator, tr trace.TracerProvider, sn str
return r.RequestURI
}),
otelhttp.WithSpanOptions(
trace.WithNewRoot(),
trace.WithSpanKind(trace.SpanKindServer),
),
otelhttp.WithPropagators(prop),
Expand Down

0 comments on commit 7d9e94d

Please sign in to comment.