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