Is the BatchSpanProcessor safe to use? Do I need to manually flush it at end of invocation?
#2385
Wade-Roberts
started this conversation in
General
Replies: 1 comment 2 replies
-
|
You should look into the decouple processor. That is added automatically and works along with the batch processor to flush at more appropriate times. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pretty much the question in the title. I was trying to go through the docs, and I wasn't seeing anything specifically about this. From what I can tell using the auto instrumentation just uses the batch span processor. And I didn't see anything specifically about needing to flush before the lambda indication ends.
Is it safe to say that if I use the collector layer that's provided that all of this will be taken care of and I won't have to worry about spans getting dropped?
Beta Was this translation helpful? Give feedback.
All reactions