Skip to content

Name spans after the operation - #810

Merged
cquiroz merged 14 commits into
mainfrom
operation-name-tracing
Jul 29, 2026
Merged

Name spans after the operation#810
cquiroz merged 14 commits into
mainfrom
operation-name-tracing

Conversation

@cquiroz

@cquiroz cquiroz commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Traced GraphQL spans are currently named from the document's first root field (clue-request-query-observation), which can't distinguish two operations starting with the same field and leaves anonymous documents unnameable.

This adds a descriptor, a display name, supplied by the generator from the operation object's name → span clue-request-ObsQuery, plus a clue.descriptor attribute. Callers can provide a custom name if so desired

@mergify

mergify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@cquiroz

cquiroz commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator Author

I don't expect this to be reviewed, I'll just merge it

@cquiroz
cquiroz merged commit 03d7808 into main Jul 29, 2026
13 checks passed
@cquiroz
cquiroz deleted the operation-name-tracing branch July 29, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant