Class: PlainApm::Hooks::ActiveRecord

Inherits:
ActiveSupportSubscriber show all
Defined in:
lib/plain_apm/hooks/active_record.rb

Constant Summary collapse

NOTIFICATION_PATTERN =
/\A[^!]\w+\.active_record\Z/.freeze
IGNORED_SQL_NAMES =
%w[SCHEMA CACHE].freeze

Constants included from EventAttributes

EventAttributes::IGNORED_EXCEPTIONS, EventAttributes::SOURCES_WITH_EXTRA_ATTRIBUTES

Method Summary

Methods inherited from ActiveSupportSubscriber

#collect, #install, #uninstall

Methods included from EventAttributes

#attributes_from_exception, #attributes_from_notification