Skip to content

feat(otlp-grpc): add retry logic and comprehensive error handling to …#2076

Open
arjun-rajappa wants to merge 1 commit intoopen-telemetry:mainfrom
arjun-rajappa:add-tests-grpc-exporter
Open

feat(otlp-grpc): add retry logic and comprehensive error handling to …#2076
arjun-rajappa wants to merge 1 commit intoopen-telemetry:mainfrom
arjun-rajappa:add-tests-grpc-exporter

Conversation

@arjun-rajappa
Copy link
Copy Markdown
Contributor

Closes #1667

Changes

  • Implement exponential backoff retry mechanism for transient gRPC errors
  • Add retry support for Unavailable, DeadlineExceeded, Cancelled, ResourceExhausted, Aborted, Internal, and DataLoss errors
  • Improve certificate handling by reading file contents instead of passing file paths
  • Add timeout support with deadline tracking across retry attempts
  • Implement metrics reporting for export failures
  • Add comprehensive test coverage for error scenarios, retry logic, and edge cases

…trace exporter

- Implement exponential backoff retry mechanism for transient gRPC errors
- Add retry support for Unavailable, DeadlineExceeded, Cancelled, ResourceExhausted, Aborted, Internal, and DataLoss errors
- Improve certificate handling by reading file contents instead of passing file paths
- Add timeout support with deadline tracking across retry attempts
- Implement metrics reporting for export failures
- Add comprehensive test coverage for error scenarios, retry logic, and edge cases

Signed-off-by: Arjun Rajappa <arjun.rajappa@ibm.com>
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.

Make otlp-http, otlp-grpc, and otlp-common gems production-ready

1 participant