@opentelemetry/instrumentation-graphql sets graphql.operation.name
span attribute to operation type
#847
Labels
bug
Something isn't working
Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
What version of Node are you using?
v12.22.4
Please provide the code you used to setup the OpenTelemetry SDK
I'm using
@splunk/otel
, the setup code looks like this:What did you do?
I applied the above instrumentation configuration to an Apollo graphql server.
What did you expect to see?
I expected the
graphql.operation.name
span attribute to be set to the operation name as defined here.What did you see instead?
Instead the
graphql.operation.name
span attribute is set to the operation type (e.g. "query")The text was updated successfully, but these errors were encountered: