Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Autoconfigure does not name the missing artifact for experimental-otlp/stdout traces and metrics exporters

未关闭 适合新手
#8,896 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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 模板
  • 阅读贡献指南

从这里开始

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

open-telemetry/opentelemetry-java 的其他 Issue

查看 open-telemetry/opentelemetry-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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