Nothing Special   »   [go: up one dir, main page]

Skip to content
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

[Feature]: OTLP Exporter Retry and Persistence #2364

Open
AaronRM opened this issue Nov 27, 2024 · 0 comments
Open

[Feature]: OTLP Exporter Retry and Persistence #2364

AaronRM opened this issue Nov 27, 2024 · 0 comments
Labels
A-common Area:common issues that not related to specific pillar enhancement New feature or request M-exporter-otlp

Comments

@AaronRM
Copy link
AaronRM commented Nov 27, 2024

Related Problems?

No response

Describe the solution you'd like:

Per the spec for OTLP Exporters, "Transient errors MUST be handled with a retry strategy. This retry strategy MUST implement an exponential back-off with jitter to avoid overwhelming the destination until the network is restored or the destination has recovered."

Similar to the equivalent feature for opentelemetry-dotnet, the Rust OpenTelemetry implementation must support retry of failed requests to be conformant to the OTLP Exporter spec. The retry mechanism should also be able to leverage an optional persistent store for additional resilience to unexpected process restarts. Implementation should follow a similar pattern to the dotnet implementation.

One set of PRs should implement retry logic for the OTLP Exporter per the OpenTelemetry spec.

Another set of PRs should introduce persistent blob abstractions (i.e. similar to OpenTelemetry.PersistentStorage.Abstractions and a file-based implementation (i.e. similar to OpenTelemetry.PersistentStorage.FileSystem). This set of PRs should also include updates to the retry logic to allow opt-in use persistent storage for retry.

References

Considered Alternatives

No response

Additional Context

No response

@AaronRM AaronRM added enhancement New feature or request triage:todo Needs to be traiged. labels Nov 27, 2024
@cijothomas cijothomas added A-common Area:common issues that not related to specific pillar M-exporter-otlp and removed triage:todo Needs to be traiged. labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-common Area:common issues that not related to specific pillar enhancement New feature or request M-exporter-otlp
Projects
None yet
Development

No branches or pull requests

2 participants