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
This is not on par with graphql's own tracer (trace_with GraphQL::Tracing::DataDogTrace, service: 'my-service-name') which is no longer recommended to be used for the latest version of datadog & graphql gems.
Since this solution of providing service name via options was recommended at version 2.1.11 it is more likely this is a bug in the unified tracer.
Will result in the service name being set to default value of nil:
Service: nil
Expected behaviour
Service: 'my-service-name'
Steps to reproduce
For example having a schema configured like this and no other instrumentation for graphql configured
👋 @cosmini, we did some work to address this issue in #3859, but it looks like you are using a newer version of our gem, so upgrading won't fix your issue.
We'll take a look into this issue in the coming days.
Current behaviour
When datadog tracing is configured manually on the schema as described in docs it doesn't apply the custom service option, instead it applies the service name from the global configuration.
This is not on par with graphql's own tracer (
trace_with GraphQL::Tracing::DataDogTrace, service: 'my-service-name'
) which is no longer recommended to be used for the latest version of datadog & graphql gems.Since this solution of providing service name via options was recommended at version 2.1.11 it is more likely this is a bug in the unified tracer.
Will result in the service name being set to default value of
nil
:Expected behaviour
Steps to reproduce
For example having a schema configured like this and no other instrumentation for graphql configured
Environment
The text was updated successfully, but these errors were encountered: