prometheus / prometheus/client_java
Implement Otel Translation Strategies per spec
未关闭
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 2.3k
- 派生
- 833
- 平均合并
- 2 天 16 小时
- 30 天内合并 PR
- 86
描述
This will allow java users to enable NoTranslation mode for 1:1 otel metric names, if they so choose.
per the discussion on CNCF Slack, when we add documentation for this feature we should make sure to point out that modes without suffixes are technically in violation of the Open Metrics specification and may lead to unpredictable results. Example text for other warnings: https://github.com/prometheus/otlptranslator/blob/main/strategy.go#L25-L60
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从链接的 OpenTelemetry Prometheus 配置部分开始,并将其转换策略与 prometheus/otlptranslator/strategy.go 中的警告示例进行比较。找到 Java 指标转换的入口点和测试,然后验证用户可以选择 NoTranslation,并且文档说明了无后缀模式的 Open Metrics 兼容性警告。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- observability-sre
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100