Class: Highlight::Tracing::BaggageSpanProcessor
- Inherits:
-
OpenTelemetry::SDK::Trace::SpanProcessor
- Object
- OpenTelemetry::SDK::Trace::SpanProcessor
- Highlight::Tracing::BaggageSpanProcessor
- Defined in:
- lib/highlight.rb
Instance Method Summary collapse
Instance Method Details
#on_start(span, parent_context) ⇒ Object
16 17 18 |
# File 'lib/highlight.rb', line 16 def on_start(span, parent_context) span.add_attributes(OpenTelemetry::Baggage.values(context: parent_context)) end |