Method: Honeycomb::Client#add_field

Defined in:
lib/honeycomb/client.rb

#add_field(key, value) ⇒ Object



75
76
77
78
79
# File 'lib/honeycomb/client.rb', line 75

def add_field(key, value)
  return if context.current_span.nil?

  context.current_span.add_field("app.#{key}", value)
end