Skip to content

Conversation

@devjoonn
Copy link

@devjoonn devjoonn commented Dec 5, 2025

The OTLP HTTP Trace Exporter had an issue where it always returned .success regardless of the actual HTTP request result. This prevented callers from detecting failures even when network errors or 4xx/5xx responses occurred.

To fix this, the exporter now waits for the HTTP request to finish and returns the correct result based on the actual response. HTTP status code validation, error messages, and request header handling were also improved.

With this change, the exporter properly returns .failure for network issues or non-2xx responses, and failed spans are safely re-added for retry.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 5, 2025

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: devjoonn / name: Hyeonjun (8773f16)

@devjoonn
Copy link
Author

devjoonn commented Dec 15, 2025

@bryce-b @nachoBonafonte @vvydier @ArielDemarco
CLA has been signed.
Thanks again for taking a look when you have time. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant