observability: make the collector replica count configurable

オープン 初心者向け
#3,572 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@sunilthorat09 がすでに取り組んでいます。

2026年11月18日 から。

  • #3573 @sunilthorat09 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
helm, kubernetes, yaml
領域
observability

調査の方向性

charts/nvcf-otel-collector から始めて OpenTelemetryCollector テンプレートがどのようにレンダリングされるかを確認し、次にデフォルトが 1 の collector.replicas 値を追加して spec.replicas としてレンダリングします。その値を helmfile.d/01-observability.yaml.gotmpl 内の otel-collector リリースに通し、tests/chart-versions.sh を使ってチャートのバージョンを上げます。完了とは、既存のインストールがデフォルトで同一にレンダリングされ、値を設定すると collector のレプリカがスケールすることを意味します。

索引モデルが issue の本文から書いたものです。

説明

infrastructure

Is this related to a problem? Please describe.

The observability stack always installs one OpenTelemetryCollector replica. Neither charts/nvcf-otel-collector nor helmfile.d/01-observability.yaml.gotmpl exposes spec.replicas, so a deployment cannot run more than one collector without patching the stack.

With a single replica, a collector restart or a node drain stops every scraped metric, including the series the function autoscaler queries, and drops traces sent through the collector until the pod is back.

Describe the solution you'd like

A collector.replicas stack value, default 1 so existing installs render the same, passed to the otel-collector release and rendered as spec.replicas on the OpenTelemetryCollector. The Target Allocator already spreads scrape targets across collector replicas (consistent-hashing), and OTLP clients reach the replicas through the collector Service.

Describe alternatives you've considered

Patching the chart template and Helmfile in each deployment, which has to be carried forward on every stack release.

Additional context

The chart version needs a bump with the template change (tests/chart-versions.sh).

主要言語
Go
スター
251
フォーク
100
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

NVIDIA/nvcf のほかの issue

NVIDIA/nvcf の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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