Autoconfigure does not name the missing artifact for experimental-otlp/stdout traces and metrics exporters
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- java
调研方向
从 SpanExporterConfiguration 和 MetricExporterConfiguration 开始,将它们的名称到工件映射与 LogRecordExporterConfiguration 进行比较。复现 traces 和 metrics 缺少依赖项的情况,然后验证 experimental-otlp 和 stdout 这两个设置报告的是 opentelemetry-exporter-logging-otlp 及其依赖项提示,而不是通用的无法识别值错误。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
When opentelemetry-exporter-logging-otlp is missing, experimental-otlp/stdout for traces and metrics fails with a generic "Unrecognized value" error, while for logs it names the artifact to add.
Steps to reproduce
Use autoconfigure without opentelemetry-exporter-logging-otlp on the classpath and set otel.traces.exporter=experimental-otlp/stdout (or otel.metrics.exporter).
What did you expect to see?
The same hint the logs signal gives: otel.traces.exporter set to "experimental-otlp/stdout" but opentelemetry-exporter-logging-otlp not found on classpath. Make sure to add it as a dependency.
What did you see instead?
Unrecognized value for otel.traces.exporter: experimental-otlp/stdout (and the same for otel.metrics.exporter). The name-to-artifact map in LogRecordExporterConfiguration has an experimental-otlp/stdout entry (added in #6675), but SpanExporterConfiguration and MetricExporterConfiguration do not; #6750 added the span and metric stdout providers without updating them.
What version and what artifacts are you using?
Artifacts: opentelemetry-sdk-extension-autoconfigure
Version: main @ 7f423cbb1
How did you reference these artifacts? N/A
Environment
Compiler: Temurin 21
OS: N/A
Additional context
The stale jaeger entry in SpanExporterConfiguration is out of scope here.
- 主要语言
- Java
- 星标
- 2.5k
- 派生
- 1k
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 75
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
open-telemetry/opentelemetry-java 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 94/100
open-telemetry/opentelemetry-java#8898 ·
维护者通常 2 天内回复
-
ComposableProbabilitySampler description still uses the old ComposableTraceIdRatioBasedSampler name未关闭
难度 1/5 1 小时以内 新手友好度 88/100
open-telemetry/opentelemetry-java#8885 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
open-telemetry/opentelemetry-java#8884 ·
维护者通常 2 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 88/100
open-telemetry/opentelemetry-java#8843 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
open-telemetry/opentelemetry-java#8688 ·
维护者通常 2 天内回复
查看 open-telemetry/opentelemetry-java 的全部 Issue
相似的 Issue
-
area/frontend good first issue kind/cooldown
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
beehive-lab/TornadoVM#1151 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
FasterXML/jackson-dataformats-binary#823 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复