Sha256: b1a962ce500aeda1ab609d7b979da9b864625c4392cb9f1663dff5f18c6226d5

Contents?: true

Size: 427 Bytes

Versions: 28

Compression:

Stored size: 427 Bytes

Contents

module Skylight
  module Normalizers
    module ActiveRecord
      class Instantiation < Normalizer
        register "instantiation.active_record"

        CAT = "db.active_record.instantiation".freeze

        def normalize(_trace, _name, payload)
          # Payload also includes `:record_count` but this will be variable
          [CAT, "#{payload[:class_name]} Instantiation", nil]
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
skylight-6.1.0.beta lib/skylight/normalizers/active_record/instantiation.rb
skylight-6.0.4 lib/skylight/normalizers/active_record/instantiation.rb
skylight-6.0.3 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.3.5 lib/skylight/normalizers/active_record/instantiation.rb
skylight-6.0.2 lib/skylight/normalizers/active_record/instantiation.rb
skylight-6.0.1 lib/skylight/normalizers/active_record/instantiation.rb
skylight-6.0.0 lib/skylight/normalizers/active_record/instantiation.rb
skylight-6.0.0.beta2 lib/skylight/normalizers/active_record/instantiation.rb
skylight-6.0.0.beta lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.3.4 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.3.3 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.3.2 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.3.1 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.3.0 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.2.0 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.2.0.beta2 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.2.0.beta lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.1.1 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.1.0.beta3 lib/skylight/normalizers/active_record/instantiation.rb
skylight-5.1.0.beta2 lib/skylight/normalizers/active_record/instantiation.rb