Sha256: 055705fa2a485e85d3a573c08b8b0310b9c87843cb17e21a0a850338800e3227
Contents?: true
Size: 693 Bytes
Versions: 2
Compression:
Stored size: 693 Bytes
Contents
# This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. # frozen_string_literal: true require 'new_relic/agent/instrumentation/active_storage_subscriber' DependencyDetection.defer do named :active_storage depends_on do defined?(ActiveStorage) && !NewRelic::Agent::Instrumentation::ActiveStorageSubscriber.subscribed? end executes do NewRelic::Agent.logger.info('Installing ActiveStorage instrumentation') end executes do ActiveSupport::Notifications.subscribe(/\.active_storage$/, NewRelic::Agent::Instrumentation::ActiveStorageSubscriber.new) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
newrelic_rpm-8.15.0 | lib/new_relic/agent/instrumentation/active_storage.rb |
newrelic_rpm-8.14.0 | lib/new_relic/agent/instrumentation/active_storage.rb |