Collector v0.16.0 crashes when provided service.telemetry.metrics.address in YAML config
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- aws, go, yaml
- 領域
- cloud, observability
調査の方向性
collector/config.yaml、特に service.telemetry.metrics.address から始め、Collector v0.16.0 の設定スキーマおよびリンク先の内部テレメトリードキュメントと比較します。この設定を削除または更新すべきか確認し、そのうえで、結果として得られた設定でデフォルトの Collector 拡張機能が正常に起動することを検証します。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Collector v0.16.0 will fail to start as an extension, emitting the following error:
{
"level": "warn",
"ts": 1752100574.8841333,
"logger": "lifecycle.manager",
"msg": "Failed to start the extension",
"error": "failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s):\n\n'service.telemetry.metrics' decoding failed due to the following error(s):\n\n'' has invalid keys: address"
}
Steps to reproduce
I assume using the default config (i.e., providing no OPENTELEMETRY_COLLECTOR_CONFIG_URI) will elicit this behavior for any user of the Collector layer, since the default config still includes this property, but you can also use the collector-v0.16.0 branch of my repo to reproduce this issue.
The presence of
service:
# ...
telemetry:
metrics:
address: localhost:8888
is sufficient to crash the Collector extension layer.
Removing the entire telemetry portion will allow the Collector to successfully start; I'm not yet sure how this impacts the end user (e.g., if metrics are no longer received/exported).
What did you expect to see?
I expected to see the Collector extension layer start successfully and the Lambda execute successfully.
What did you see instead?
The extension crashes and the Lambda fails to execute.
What version of collector/language SDK version did you use?
This affects Collector v0.16.0.
What language layer did you use?
NodeJS v0.15.0
Additional context
Maybe this is expected behavior and the service.telemetry.metrics.address setting is deprecated or entirely unnecessary.
Update: I just found this in the documentation on the Collector's internal metrics:
Internal telemetry configuration changes
As of Collector v0.123.0, the
service::telemetry::metrics::addresssetting is ignored. In earlier versions, it could be configured with:service: telemetry: metrics: address: 0.0.0.0:8888
- 主要言語
- Go
- スター
- 433
- フォーク
- 249
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 39
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
open-telemetry/opentelemetry-lambda のほかの issue
-
enhancement ruby
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
open-telemetry/opentelemetry-lambda#2741 ·
メンテナーはふだん 2 日以内に返信
-
processor/cold_start
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
open-telemetry/opentelemetry-lambda#2738 ·
メンテナーはふだん 2 日以内に返信
-
Fix install-toolsオープンgo
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
open-telemetry/opentelemetry-lambda#2736 ·
メンテナーはふだん 2 日以内に返信
-
enhancement javascript
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
open-telemetry/opentelemetry-lambda#2744 ·
メンテナーはふだん 2 日以内に返信
-
enhancement python
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
open-telemetry/opentelemetry-lambda#2742 ·
メンテナーはふだん 2 日以内に返信
open-telemetry/opentelemetry-lambda の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
rancher/rancher-ai-mcp#206 ·
メンテナーはふだん 1 日以内に返信
-
test: make command and stdio startup tests portable対応中かも @dajiaohuang が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
mark3labs/mcp-go#1220 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
open-telemetry/opentelemetry-go-compile-instrumentation#1743 ·
メンテナーはふだん 2 日以内に返信
-
FindInBatches panics for non-positive batch sizes対応中かも @Dazhou-del が今日担当しました。 オープンtype:with reproduction steps
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信