Class: NewRelic::Agent::Instrumentation::MetricFrame Deprecated

Inherits:
Object
  • Object
show all
Defined in:
lib/new_relic/agent/instrumentation/metric_frame.rb

Overview

Deprecated.

This is a legacy support shim now that the MetricFrame functionality has moved over to the Transaction class instead.

This class is deprecated and will be removed in a future agent version.

This class is not part of the public API. Avoid making calls on it directly.

Class Method Summary collapse

Class Method Details

.abort_transaction!Object

Deprecated.


24
25
26
# File 'lib/new_relic/agent/instrumentation/metric_frame.rb', line 24

def self.abort_transaction!
  Transaction.abort_transaction!
end

.recording_web_transaction?Boolean

Deprecated.

Returns:

  • (Boolean)


19
20
21
# File 'lib/new_relic/agent/instrumentation/metric_frame.rb', line 19

def self.recording_web_transaction?
  Transaction.recording_web_transaction?
end