module OneApm::Transaction::TransactionSynthetics

Attributes

raw_synthetics_header[RW]
synthetics_payload[RW]

Public Instance Methods

is_synthetics_request?() click to toggle source
# File lib/one_apm/transaction/transaction_synthetics.rb, line 9
def is_synthetics_request?
  synthetics_payload != nil && raw_synthetics_header != nil
end
synthetics_account_id() click to toggle source
# File lib/one_apm/transaction/transaction_synthetics.rb, line 18
def synthetics_account_id
  info = synthetics_payload or return nil
  info[1]
end
synthetics_job_id() click to toggle source
# File lib/one_apm/transaction/transaction_synthetics.rb, line 28
def synthetics_job_id
  info = synthetics_payload or return nil
  info[3]
end
synthetics_monitor_id() click to toggle source
# File lib/one_apm/transaction/transaction_synthetics.rb, line 33
def synthetics_monitor_id
  info = synthetics_payload or return nil
  info[4]
end
synthetics_resource_id() click to toggle source
# File lib/one_apm/transaction/transaction_synthetics.rb, line 23
def synthetics_resource_id
  info = synthetics_payload or return nil
  info[2]
end
synthetics_version() click to toggle source
# File lib/one_apm/transaction/transaction_synthetics.rb, line 13
def synthetics_version
  info = synthetics_payload or return nil
  info[0]
end