Method: Sentry::PropagationContext#get_traceparent

Defined in:
lib/sentry/propagation_context.rb

#get_traceparentString

Returns the sentry-trace header from the propagation context.

Returns:

  • (String)


136
137
138
# File 'lib/sentry/propagation_context.rb', line 136

def get_traceparent
  "#{trace_id}-#{span_id}"
end