class ElasticAPM::TraceContext::Traceparent

def hex_flags

def hex_flags
  format('%02x', flags.to_i(2))
end