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

Feature Request: Separate metrics for management vs. resource conflicts and use gauge aggregation

オープン
#2,024 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go, kubernetes
領域
observability

調査の方向性

まず、Config Sync に既存の管理競合メトリクスとリソース競合メトリクス、およびクラスター内のアクティブな競合を追跡するコードを見つけます。現在の合計集計がどのように出力されるか、また競合がオブジェクト ID によってどのように識別されるかを確認します。管理メトリクスとリソースメトリクスが分離され、重複排除されたアクティブな競合数を報告し、競合の解決後にその数が減少すれば完了です。

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

説明

enhancement
Checklist
  • I did not find a related open enhancement request.
  • I understand that enhancement requests filed in the GitHub repository are by default low priority.
  • If this request is time-sensitive, I have submitted a corresponding issue with GCP support.
Describe the feature

Description: Currently, Config Sync records both management conflicts and resource conflicts under the same metric. This is confusing because resource conflicts are often benign (e.g., multiple controllers managing the same resource type but different objects), whereas management conflicts consistently require user intervention. The current metric uses a "total" count that only increments. It does not decrease when a conflict is resolved, making it impossible for users to know the current number of active conflicts in the cluster.

Feature request:

  • Separate Metrics: specific metrics should be available to distinguish "management conflicts" from "resource conflicts," allowing users to alert only on the actionable items.
  • Gauge Aggregation: Change the metric type to use "last value" (Gauge) aggregation. The metric should report the total number of currently active conflicts (deduplicated by object ID) so that the value goes down when conflicts are fixed.

Alternatives considered:

  • Stop reporting "resource conflicts" entirely to reduce noise, though this removes visibility into controller fights.
  • Removing both metrics and relying solely on generic error metrics.
Importance

No response

主要言語
Go
スター
279
フォーク
59
平均マージ
1日 23時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

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

GoogleContainerTools/config-sync のほかの issue

GoogleContainerTools/config-sync の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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