Skip to content

Add graphql integration option to automatically rename root spans based on graphql.operation.name #13238

Description

Description

Root spans are currently named by otel and are cumbersome to retroactively change to a more meaningful name. See #12887 (comment).

Brainstorm
Add an option akin to inferRootSpanNameFromGraphQLOperation: boolean (naming TBD) to our GraphQL instrumentation to update the name of the root span to that of the (last) child span that has a graphql.operation.name set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions