Sha256: 866e86b725c34c71c395ebda0eda0a42e8197c96f30713dfa1c674daceffa41b

Contents?: true

Size: 353 Bytes

Versions: 8

Compression:

Stored size: 353 Bytes

Contents

module Appsignal
  class EventFormatter
    # @api private
    module ActiveRecord
      class SqlFormatter
        def format(payload)
          [payload[:name], payload[:sql], SQL_BODY_FORMAT]
        end
      end
    end
  end
end

Appsignal::EventFormatter.register(
  "sql.active_record",
  Appsignal::EventFormatter::ActiveRecord::SqlFormatter
)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
appsignal-2.5.3-java lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.5.3 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.5.3.alpha.2 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.5.3.alpha.2-java lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.5.3.alpha.1 lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.5.3.alpha.1-java lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.5.2-java lib/appsignal/event_formatter/active_record/sql_formatter.rb
appsignal-2.5.2 lib/appsignal/event_formatter/active_record/sql_formatter.rb