class Sentry::Span

def to_sentry_trace

Returns:
  • (String) -
def to_sentry_trace
  sampled_flag = ""
  sampled_flag = @sampled ? 1 : 0 unless @sampled.nil?
  "#{@trace_id}-#{@span_id}-#{sampled_flag}"
end