hs-opentelemetry-api-0.2.0.0: OpenTelemetry API for use by libraries for direct instrumentation or wrapper packages.
Safe HaskellSafe-Inferred
LanguageHaskell2010

OpenTelemetry.Contrib.CarryOns

Synopsis

Documentation

withCarryOnProcessor :: SpanProcessor -> SpanProcessor Source #

"Carry ons" are extra attributes that are added to every span that is completed for within a thread's context. This helps us propagate attributes across a trace without having to manually add them to every span.

Be cautious about adding too many additional attributes via carry ons. The attributes are added to every span, and will be discarded if the span has attributes that exceed the configured attribute limits for the configured TracerProvider.