Method: NewRelic::Agent::Transaction#synthetics_additional_attributes

Defined in:
lib/new_relic/agent/transaction.rb

#synthetics_additional_attributes(&block) ⇒ Object

[View source]

637
638
639
640
641
642
# File 'lib/new_relic/agent/transaction.rb', line 637

def synthetics_additional_attributes(&block)
  synthetics_info('attributes')&.each do |k, v|
    new_key = "synthetics_#{NewRelic::LanguageSupport.snakeize(k.to_s)}".to_sym
    yield(new_key, v.to_s)
  end
end