Replies: 1 comment 2 replies
-
@anuraaga any thoughts on this? Perhaps I'm missing something from the current / future landscape that will solve the latency issue rendering this idea useless? |
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
-
As far as I understand there is currently no workaround for increased lambda execution latency due to synchronous flush even if using Collector extension. That is, we can't use batch processor for the collector in order to avoid missing spans when collector extension gets frozen before flush.
I was thinking about a solution to that, until there is an IDLE event in Lambda API (as mentioned in: https://github.com/open-telemetry/opentelemetry-lambda/blob/main/docs/design_proposal.md). Basically we could take advantage of the following:
Altogether, we could implement an OTEL Collector processor that would:
/next
API call) that the processing has been finished only after successful export of the batchThis way we would:
Beta Was this translation helpful? Give feedback.
All reactions