mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
547d584da8
* Add global propagators The default global propagators are set to the chained W3C trace and correlation context propagators. * Use global propagators in plugins The httptrace and grpcplugins should also get some API for setting a propagator to use (the othttp plugin already has such an API), but that can come in some other PR. * Decrease indentation in trace propagators * Drop obsolete TODOs Now we do "something" with correlation context - it ends up in the context, and we put the context into the request, so the chained HTTP handler can access it too. The other TODO was about tag.Upsert which is long gone. * Do not unnecessarily update the request context The request context already contains the span (and we add some attribute there), so inserting it into context again is pointless. Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com> |
||
---|---|---|
.. | ||
core | ||
correlation | ||
global | ||
key | ||
metric | ||
propagation | ||
testharness | ||
trace | ||
unit |