prometheus / prometheus/client_python
Why is the restriction on name in class MetricWrapperBase to comply with the METRIC-NAME-RE rule?
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 4.4k
- フォーク
- 876
- 平均マージ
- 8日 4時間
- マージ済み PR(30日)
- 1
説明
Why is the restriction on name in class MetricWrapperBase to comply with the METRIC-NAME-RE rule? If I replicate init by inheriting the MetricWrapperBase class, there may be an inconsistency in the transfer of label_values when upgrading to a higher version. I am using version 0.7.1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
MetricWrapperBase クラスと METRIC-NAME-RE ルールから始め、その初期化動作をバージョン 0.7.1 およびそれ以降のバージョンと比較します。継承して init を複製する際に label_values がどのように引き継がれるかを追跡します。制限と、バージョンアップに関する不整合が確認または文書化されれば、この問題は解決されます。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- observability
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100