Method: Sentry::Span#to_baggage
- Defined in:
- lib/sentry/span.rb
#to_baggage ⇒ String?
Generates a W3C Baggage header string for distributed tracing from the incoming baggage stored on the transaction.
164 165 166 |
# File 'lib/sentry/span.rb', line 164 def to_baggage transaction.get_baggage&.serialize end |