Missing parent spans #3440
-
I'm using OpenTelemetry to debug graphql requests (spanning a single process). My setup is pretty standard:
The root span of each request should be an The verify that this is not a problem with the exporter I tested with the console exporter. Same problem. I see a span like this one but no span with the the id
Smaller request look fine
I also used a custom span processor to see whether the span is sampled. For all requests, I'm seeing a
What could explain those (consistently) missing spans? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Best guess is that the HTTP span is never ended. As of now OTel only exports finished spans. You could verify this by added some log output in the In case my guess is true next step would be find out why the HTTP instrumentation is not ending this span. |
Beta Was this translation helpful? Give feedback.
Best guess is that the HTTP span is never ended. As of now OTel only exports finished spans.
You could verify this by added some log output in the
onStart()
method of your custom span processor.In case my guess is true next step would be find out why the HTTP instrumentation is not ending this span.