How to flush for AWS Lambda? #2639
Unanswered
canadiannomad
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using tracing with opentelemetry-otlp to Jaeger in a lambda... Since lambdas pause and sometimes get killed after use, how can I make sure the spans are sent to the collector? I'd like to use something like
force_flush
, but I can't seem to find a way to invoke it that works. So I'm likely missing something, as I see no examples, and theforce_flush
functions are on objects I don't seem to have easy access to.I can tell the spans get sent when I call the lambda twice after a few seconds..
Any help or suggestions in this direction?
Beta Was this translation helpful? Give feedback.
All reactions