open-telemetry / open-telemetry/opentelemetry-java

grpc-managed-channel sender ignores exporter RetryPolicy

未关闭
#8,653 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Feature Request
主要语言
Java
星标
2.5k
派生
1k
平均合并
3 天 17 小时
30 天内合并 PR
58

描述

Is your feature request related to a problem? Please describe.
We use opentelemetry-java in our platform and since https://github.com/open-telemetry/opentelemetry-java/pull/2995 all the services that start before the opentelemetry collector generate an ERROR log because the collector is not available yet:
https://github.com/open-telemetry/opentelemetry-java/blob/main/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/internal/GrpcExporter.java#L100

Describe the solution you'd like

Describe alternatives you've considered

Additional context
We're using opentelemetry-java 1.63.0

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/internal/GrpcExporter.java 的第 100 行附近开始,然后跟踪 grpc-managed-channel sender 如何处理 exporter 的 RetryPolicy。定义 collector 不可用时的预期行为,并验证启动时不再产生 ERROR 日志,同时 RetryPolicy 的行为仍然正确。

由索引模型根据 Issue 内容生成。

评估

技术栈
grpc, java
领域
networking, observability-sre
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。