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-2.0.6 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.0.5 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.0.5.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.1.0.alpha.3 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.1.0.alpha.2 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.1.0.alpha.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.0.4 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.0.3 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.0.2 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.0.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.0.0 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.0.0.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.4.0.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.3.6 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.3.6.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.3.5 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.3.5.beta.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.3.4 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.3.3 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-1.4.0.alpha.2 lib/appsignal/event_formatter/active_record/sql_formatter.rb