module GraphQL::Tracing::ActiveSupportNotificationsTracing
This implementation forwards events to ActiveSupport::Notifications with a ‘graphql` suffix.
@see KEYS
for event names
Constants
- KEYS
A cache of frequently-used keys to avoid needless string allocations
- NOTIFICATIONS_ENGINE
Public Class Methods
trace(key, metadata, &blk)
click to toggle source
# File lib/graphql/tracing/active_support_notifications_tracing.rb, line 16 def self.trace(key, metadata, &blk) NOTIFICATIONS_ENGINE.trace(key, metadata, &blk) end