Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

クローズ 初心者向け
#8,896 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #8897 @thswlsqls による — マージ済み

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java

調査の方向性

SpanExporterConfiguration と MetricExporterConfiguration から始め、それらの名前からアーティファクトへのマップを LogRecordExporterConfiguration と比較します。トレースとメトリクスで依存関係が欠落するケースを再現し、そのうえで 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
平均マージ
3日 15時間
マージ済み PR(30日)
65

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

open-telemetry/opentelemetry-java のほかの issue

open-telemetry/opentelemetry-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。