Module: GraphQL::Tracing::ActiveSupportNotificationsTracing
- Defined in:
- lib/graphql/tracing/active_support_notifications_tracing.rb
Overview
This implementation forwards events to ActiveSupport::Notifications
with a graphql suffix.
Constant Summary collapse
- KEYS =
          A cache of frequently-used keys to avoid needless string allocations 
- NotificationsTracing::KEYS 
- NOTIFICATIONS_ENGINE =
- NotificationsTracing.new(ActiveSupport::Notifications) 
Class Method Summary collapse
Class Method Details
.trace(key, metadata, &blk) ⇒ Object
| 16 17 18 | # File 'lib/graphql/tracing/active_support_notifications_tracing.rb', line 16 def self.trace(key, , &blk) NOTIFICATIONS_ENGINE.trace(key, , &blk) end |