-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SimpleSpanProcessor support in OTel #29448
Comments
Is this still relevant? |
Very... Especially for lambda functions. |
FYI, This project can be used as a helper: https://github.com/brunobat/reproducers/tree/main/graalvm-aws-rest-26250 |
Assigning to @alesj |
@arik-dig has this problem on tests that use openTelemetry. The test closes before the export finishes and throws an exception.
|
when working with version 3.4.1 seeing the following warning:
as @brunobat mentioned when using the configs:
it reduces the frequency of it happening, but its inconsistent. |
This has been implemented here: #43983 |
Description
We need to support SimpleSpanProcessor in OTel, in order to allow lambda functions on cloud providers to report, in time their traces.
See #26250
The default processor accumulates spans and sends them in batches, therefore the it's called
BatchSpanProcessor
.Lambda functions shut down quick and sometimes there is no time to send the traces out.
This feature will dispatch spans as they are created, therefore making sure the span goes out.
This applies to LogRecords as well.
Implementation ideas
This should be trivial after the OTel SPI access is available after the #26444 work is finished.
Should be a mater of documenting the procedure.
The text was updated successfully, but these errors were encountered: