-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTEL error "Can not execute the operation on ended Span" #2652
Comments
Hey @velias, this isn't a trivial reproduction. Please share a repository I can clone which demonstrates the issue without any creativity on my part with any necessary steps I need to take to trigger the error. |
OK, but I'm leaving for holiday later this week, not sure if I'll be able to provide it before. So be patient please. |
OK, was able to do it today, reproducer is here https://github.com/velias/apollographql-federation-issue-2652-reproducer |
Thanks @velias! Hoping to get a look at this tomorrow. |
Thanks for the patch |
Issue Description
If subgraph call fails with http error (eg. 400), then there is error
Can not execute the operation on ended Span {traceId: 496674e5d6add505f18b5cdcb6259322, spanId: e9285ed17413b036}
in the app log fromotel
module. SpanId in the message is fromgateway.postprocessing
span. Looks like some error/result reporting doesn't work correctly for this Span.Link to Reproduction
https://github.com/velias/apollographql-federation-issue-2652-reproducer
Reproduction Steps
The text was updated successfully, but these errors were encountered: