Class: Skylight::Core::Normalizers::GraphQL::Base Private

Inherits:
Normalizer
  • Object
show all
Defined in:
lib/skylight/core/normalizers/graphql/base.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Some AS::N events in GraphQL are not super useful. We are purposefully ignoring the following keys (and you probably shouldn’t add them):

- "graphql.analyze_multiplex"
- "graphql.execute_field" (very frequently called)
- "graphql.execute_field_lazy"

Constant Summary collapse

ANONYMOUS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

"[anonymous]".freeze
CAT =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

"app.graphql".freeze

Instance Attribute Summary

Attributes inherited from Normalizer

#config

Instance Method Summary collapse

Methods inherited from Normalizer

#initialize, #normalize_after, register

Constructor Details

This class inherits a constructor from Skylight::Core::Normalizers::Normalizer

Instance Method Details

#normalize(_trace, name, _payload) ⇒ 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.



14
15
16
# File 'lib/skylight/core/normalizers/graphql/base.rb', line 14

def normalize(_trace, name, _payload)
  [CAT, name, nil]
end