You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`enabled`|`DD_TRACE_GRAPHQL_ENABLED`|`Bool`| Whether the integration should create spans. |`true`|
882
882
|`schemas`||`Array`| Array of `GraphQL::Schema` objects (that support class-based schema only) to trace. If you do not provide any, then tracing will applied to all the schemas. |`[]`|
883
-
|`with_unified_tracer`||`Bool`| (Recommended) Enable to instrument with `UnifiedTrace` tracer for `graphql` >= v2.2, **enabling support for Endpoints list** in the Service Catalog. `with_deprecated_tracer` has priority over this. Default is `false`, using `GraphQL::Tracing::DataDogTrace` instead |`false`|
884
-
|`with_deprecated_tracer`||`Bool`| Enable to instrument with deprecated `GraphQL::Tracing::DataDogTracing`. This has priority over `with_unified_tracer`. Default is `false`, using `GraphQL::Tracing::DataDogTrace` instead |`false`|
883
+
|`with_unified_tracer`|`DD_TRACE_GRAPHQL_WITH_UNIFIED_TRACER`|`Bool`| (Recommended) Enable to instrument with `UnifiedTrace` tracer for `graphql` >= v2.2, **enabling support for Endpoints list** in the Service Catalog. `with_deprecated_tracer` has priority over this. Default is `false`, using `GraphQL::Tracing::DataDogTrace` instead. This option is disabled by default to maintain backwards compatibility, but **will become the default in `datadog` 3.0.0**.|`false`|
884
+
|`with_deprecated_tracer`||`Bool`|(Not recommended) Enable to instrument with deprecated `GraphQL::Tracing::DataDogTracing`. This has priority over `with_unified_tracer`. Default is `false`, using `GraphQL::Tracing::DataDogTrace` instead |`false`|
885
885
|`service_name`||`String`| Service name used for graphql instrumentation |`'ruby-graphql'`|
886
886
887
887
Once an instrumentation strategy is selected (`with_unified_tracer: true`, `with_deprecated_tracer: true`, or *no option set* which defaults to `GraphQL::Tracing::DataDogTrace`), it is not possible to change the instrumentation strategy in the same Ruby process.
0 commit comments