Sha256: 73c630d629865237bd2bfb6d29c1383a7e51e73f8e0f96da2135b76034d3a34d

Contents?: true

Size: 282 Bytes

Versions: 86

Compression:

Stored size: 282 Bytes

Contents

module Appsignal
  class EventFormatter
    module ActiveRecord
      class SqlFormatter < Appsignal::EventFormatter
        register 'sql.active_record'

        def format(payload)
          [payload[:name], payload[:sql], SQL_BODY_FORMAT]
        end
      end
    end
  end
end

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
appsignal-1.1.5.beta.4 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.5.beta.3 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.5.beta.2 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.5.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.4 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.4.beta.3 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.4.beta.2 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.4.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.3 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.3.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.2 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.1.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.0.beta.13 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.0.7 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.0.6 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.0.6.beta.4 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.0.beta.9 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.1.0.beta.8 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.0.6.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb