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
So not sure if this is a documentation issue, or it should be autoloaded while it is not.
Expected behaviour
Looking at the documentation, it looks like a drop-in replacement for GraphQL::Tracing::DataDogTrace and 'just work' instead of raising a NameError.
Steps to reproduce
Use a custom tracer based on UnifiedTrace:
# frozen_string_literal: truemoduleUtilmoduleDatadogTracerincludeDatadog::Tracing::Contrib::GraphQL::UnifiedTracedefprepare_span(key,data,span)# REDACTED: add some tagsendendend
Current behaviour
Following the documentation, I'm getting a
NameError
when attempting to use the new GraphQL unified tracer:This is solved by requiring the file manually:
So not sure if this is a documentation issue, or it should be autoloaded while it is not.
Expected behaviour
Looking at the documentation, it looks like a drop-in replacement for
GraphQL::Tracing::DataDogTrace
and 'just work' instead of raising aNameError
.Steps to reproduce
Use a custom tracer based on UnifiedTrace:
and
trace_with
the custom tracer like this:How does
datadog
help you?Some great tracing and profiling :)
Environment
Datadog.configure ...
):The text was updated successfully, but these errors were encountered: