Module: Skylight::Probes::GraphQL::Instrumentation Private
- Defined in:
- lib/skylight/probes/graphql.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #initialize ⇒ Object private
Instance Method Details
#initialize ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/skylight/probes/graphql.rb', line 9 def initialize(*, **) super return unless defined?(@tracers) # This is the legacy tracing used in graphql =< 2.0.17 unless @tracers.include?(::GraphQL::Tracing::ActiveSupportNotificationsTracing) @tracers << ::GraphQL::Tracing::ActiveSupportNotificationsTracing end end |