Skip to content

Conversation

@zFlux
Copy link

@zFlux zFlux commented Nov 13, 2025

Adds unit tests verifying that the OTLP HTTP trace exporter retries on 5xx and 429 responses, and does not retry on client errors (4xx). Confirms exponential backoff and export result statuses are mapped correctly according to the spec.

Adding a few tests at a time to ultimately fully harden otlp-http, otlp-grpc, and otlp-common

Refs: #1667

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 13, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: zFlux / name: Daniel Christo (b079871)

@zFlux
Copy link
Author

zFlux commented Nov 14, 2025

Should I move the retry and backoff logic into otlp-common and test it there instead of here? Or potentially in both places?

@zFlux zFlux force-pushed the chore/retry-behaviour-tests branch from 4adff67 to b079871 Compare November 14, 2025 13:43
@zFlux
Copy link
Author

zFlux commented Nov 14, 2025

I'm going to close this and tackle something flagged with "good first issue".

@zFlux zFlux closed this Nov 14, 2025
@zFlux zFlux deleted the chore/retry-behaviour-tests branch November 14, 2025 20:15
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