Class: Datadog::Tracing::Contrib::GraphQL::Configuration::Settings
- Inherits:
-
Configuration::Settings
- Object
- Configuration::Settings
- Datadog::Tracing::Contrib::GraphQL::Configuration::Settings
- Defined in:
- lib/datadog/tracing/contrib/graphql/configuration/settings.rb
Overview
Custom settings for the GraphQL integration
Instance Attribute Summary collapse
-
#analytics_sample_rate ⇒ Object
Returns the value of attribute analytics_sample_rate.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#error_extensions ⇒ Object
Capture error extensions provided by the user in their GraphQL error responses.
-
#schemas ⇒ Object
Returns the value of attribute schemas.
-
#service_name ⇒ Object
Returns the value of attribute service_name.
-
#with_deprecated_tracer ⇒ Object
Returns the value of attribute with_deprecated_tracer.
-
#with_unified_tracer ⇒ Object
Returns the value of attribute with_unified_tracer.
Method Summary
Methods inherited from Configuration::Settings
Methods included from Core::Configuration::Base
Instance Attribute Details
#analytics_sample_rate ⇒ Object
Returns the value of attribute analytics_sample_rate.
27 28 29 |
# File 'lib/datadog/tracing/contrib/graphql/configuration/settings.rb', line 27 def analytics_sample_rate @analytics_sample_rate end |
#enabled ⇒ Object
Returns the value of attribute enabled.
15 16 17 |
# File 'lib/datadog/tracing/contrib/graphql/configuration/settings.rb', line 15 def enabled @enabled end |
#error_extensions ⇒ Object
Capture error extensions provided by the user in their GraphQL error responses. The extensions can be anything, so the user is responsible for ensuring they are safe to capture.
55 56 57 |
# File 'lib/datadog/tracing/contrib/graphql/configuration/settings.rb', line 55 def error_extensions @error_extensions end |
#schemas ⇒ Object
Returns the value of attribute schemas.
33 34 35 |
# File 'lib/datadog/tracing/contrib/graphql/configuration/settings.rb', line 33 def schemas @schemas end |
#service_name ⇒ Object
Returns the value of attribute service_name.
38 39 40 |
# File 'lib/datadog/tracing/contrib/graphql/configuration/settings.rb', line 38 def service_name @service_name end |
#with_deprecated_tracer ⇒ Object
Returns the value of attribute with_deprecated_tracer.
42 43 44 |
# File 'lib/datadog/tracing/contrib/graphql/configuration/settings.rb', line 42 def with_deprecated_tracer @with_deprecated_tracer end |
#with_unified_tracer ⇒ Object
Returns the value of attribute with_unified_tracer.
47 48 49 |
# File 'lib/datadog/tracing/contrib/graphql/configuration/settings.rb', line 47 def with_unified_tracer @with_unified_tracer end |