BatchSpanProcessor.forceFlush() doesn't appear to flush anything #2805
Unanswered
kenfinnigan
asked this question in
Q&A
Replies: 1 comment 3 replies
-
This looks like a bug, for sure. Needs to flush the exporter when called, and use that as the result code. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking at shutdown hooks and following the code and I happened to notice that https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/trace/src/main/java/io/opentelemetry/sdk/trace/export/BatchSpanProcessor.java#L247 doesn't appear to actually flush any spans that might be present.
Am I missing where it happens or is it a bug?
Beta Was this translation helpful? Give feedback.
All reactions