Sha256: 5984dc55210500aec84ef684b98f6f4978dfe92d131c786eda3055d750f4bf8e

Contents?: true

Size: 748 Bytes

Versions: 5

Compression:

Stored size: 748 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

# 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.
#
module NewRelic
  module Agent
    module Instrumentation
      class MetricFrame

        def self.recording_web_transaction?
          Transaction.recording_web_transaction?
        end

        def self.abort_transaction!
          Transaction.abort_transaction!
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
newrelic_rpm-3.6.2.96 lib/new_relic/agent/instrumentation/metric_frame.rb
newrelic_rpm-3.6.2.90.beta lib/new_relic/agent/instrumentation/metric_frame.rb
newrelic_rpm-3.6.1.88 lib/new_relic/agent/instrumentation/metric_frame.rb
newrelic_rpm-3.6.1.87 lib/new_relic/agent/instrumentation/metric_frame.rb
newrelic_rpm-3.6.1.86.beta lib/new_relic/agent/instrumentation/metric_frame.rb