Method: Sentry.get_trace_propagation_meta

Defined in:
lib/sentry-ruby.rb

.get_trace_propagation_metaString

Returns the a Hash containing sentry-trace and baggage. Can be either from the currently active span or the propagation context.

Returns:

  • (String)

582
583
584
585
# File 'lib/sentry-ruby.rb', line 582

def get_trace_propagation_meta
  return "" unless initialized?
  get_current_hub.get_trace_propagation_meta
end