Module: Skylight::Core::Probes::GraphQL::Instrumentation Private

Defined in:
lib/skylight/core/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

Instance Method Details

#initializeObject

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.



7
8
9
10
11
12
13
14
15
# File 'lib/skylight/core/probes/graphql.rb', line 7

def initialize(*, **)
  super

  return unless defined?(@tracers)

  unless @tracers.include?(::GraphQL::Tracing::ActiveSupportNotificationsTracing)
    @tracers << ::GraphQL::Tracing::ActiveSupportNotificationsTracing
  end
end