Sha256: ac07f77ef76ca16e4e7b1dffbd84dcadd8fa870a2e8fee9bdb03b221087f7318
Contents?: true
Size: 458 Bytes
Versions: 3
Compression:
Stored size: 458 Bytes
Contents
# frozen_string_literal: true module PlainApm module Extensions module ActiveSupport class Railtie < Rails::Railtie initializer(:plain_apm_thread_allocations, after: :plain_apm_agent_start) do next if !PlainApm.agent.enabled? require "object_tracing" ::ActiveSupport::Notifications::Event.prepend( PlainApm::Extensions::ActiveSupport::Event ) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems