Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

OkHttpGrpcSender no longer logs retry attempts

Đang mở Phù hợp với người mới
#8,966 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@thswlsqls đang làm issue này rồi.

Từ ngày 19/10/2026.

  • #8967 của @thswlsqls — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
82/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
backend, observability

Hướng nghiên cứu

Bắt đầu từ OkHttpGrpcSender.sendAttempt() và kiểm tra callback thử lại, so sánh hành vi của nó với RetryInterceptor và JdkHttpSender. Issue chỉ ra rằng thiếu log FINER cho từng lần thử và đưa ra cách tái hiện bằng một endpoint không thể truy cập. Hoàn tất khi mỗi lần thử thất bại có thể thử lại đều ghi log bản ghi mong đợi; kiểm tra các bài kiểm thử hiện có của sender để xác định phạm vi kiểm thử phù hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the bug
OkHttpGrpcSender no longer logs retry attempts. #6614 added per-attempt FINER logs in RetryInterceptor; #8854 moved gRPC retries into OkHttpGrpcSender.sendAttempt() without them.

Steps to reproduce

  1. Use the OTLP gRPC exporter with the default OkHttp sender (retry is on by default).
  2. Set the JUL level of io.opentelemetry.exporter.sender.okhttp.internal to FINER.
  3. Export to an endpoint with nothing listening.

What did you expect to see?
One Attempt N failed with retryable exception record per attempt, as the OkHttp HTTP sender (RetryInterceptor) and JdkHttpSender still log.

What did you see instead?
Only the final export failure. The Callback in OkHttpGrpcSender.sendAttempt() does not log.

What version and what artifacts are you using?
Artifacts: opentelemetry-exporter-sender-okhttp, opentelemetry-exporter-otlp
Version: 1.67.0 / main @ b32298a83
How did you reference these artifacts? Gradle

Environment
Compiler: Temurin 21
OS: N/A

Additional context
N/A

Ngôn ngữ chính
Java
Star
2.5k
Fork
1k
Merge trung bình
3 ngày 15 giờ
Pull request đã merge (30 ngày)
65

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của open-telemetry/opentelemetry-java

Tất cả issue của open-telemetry/opentelemetry-java

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.