Sha256: 3e40bdc3bc2aebf0a09f5f97f31d1d0c7df47397c821a37183354c3ef3b23bf1

Contents?: true

Size: 427 Bytes

Versions: 13

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

13 entries across 13 versions & 1 rubygems

Version Path
skylight-1.7.2 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.7.1 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.7.0 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.6.1 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.6.0 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.5.1 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.5.0 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.4.4 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.4.3 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.4.2 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.4.1 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.4.0 lib/skylight/normalizers/active_record/instantiation.rb
skylight-1.4.0.beta.2 lib/skylight/normalizers/active_record/instantiation.rb