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

Handle partial success responses from OTLP export services #865

Closed
jmacd opened this issue Aug 19, 2022 · 1 comment
Closed

Handle partial success responses from OTLP export services #865

jmacd opened this issue Aug 19, 2022 · 1 comment
Labels
A-common Area:common issues that not related to specific pillar enhancement New feature or request M-exporter-otlp release:allowed-for-stable Changes that can still be added before Stable, but won't require Breaking Interfaces.

Comments

@jmacd
Copy link

jmacd commented Aug 19, 2022

Problem Statement

Following the specification change to add partial success responses, each OTel SDK is encouraged to handle the resulting error message string in an appropriate way, considering existing norms. This requires OTLP v0.19.

Proposed Solution

For each of the Export*ServiceRequest methods used by OTLP Trace and Metrics exporters, construct an error and call the appropriate handler with the error message string and the number of spans/points(/logs) dropped. Future OTel specifications may call for optional treatment of the number of dropped items, but presently that is just additional information to include in the handled error.

@TommyCpp TommyCpp added enhancement New feature or request A-common Area:common issues that not related to specific pillar labels Aug 28, 2022
@hdost hdost added release:allowed-for-stable Changes that can still be added before Stable, but won't require Breaking Interfaces. M-exporter-otlp labels Feb 21, 2024
@hdost hdost added this to the Tracing OTLP Exporter Stable milestone Feb 21, 2024
@cijothomas
Copy link
Member

#2364 Can be used to track this, closing.

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 release:allowed-for-stable Changes that can still be added before Stable, but won't require Breaking Interfaces.
Projects
None yet
Development

No branches or pull requests

4 participants