Support OpenMetrics 2.0 exposition format
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- prometheus, python
調査の方向性
Review the linked PRs (#1104, #1087) and issue #1122 to understand the current OpenMetrics support. Examine the client_golang PR #2132 for the implementation approach. The work involves modifying the exposition logic, likely in the core metrics generation and HTTP handler code, to negotiate and produce OpenMetrics 2.0 format. Testing will require verifying the output against the OpenMetrics 2.0 specification.
索引モデルが issue の本文から書いたものです。
説明
OpenMetrics 2.0 is now available (experimental): https://prometheus.io/docs/specs/om/open_metrics_spec_2_0/
Prometheus common have it implemented https://github.com/prometheus/common/issues/893
A PR is on the way for client_golang https://github.com/prometheus/client_golang/pull/2132
It would be nice for client_python to support exposing OpenMetrics 2.0 as well.
Proposed approach, mirroring what client_golang:
- Keep a single existing opt-in switch for OpenMetrics exposition rather than adding a second flag specifically for 2.0.
- Once OpenMetrics exposition is opted into, rely purely on content neciation.
Related work:
- 主要言語
- Python
- スター
- 4.4k
- フォーク
- 876
- 平均マージ
- 8日 4時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
prometheus/client_python のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
prometheus/client_python#1177 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
prometheus/client_python#1199 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
prometheus/client_python#1176 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 52/100
prometheus/client_python#1126 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
prometheus/client_python#1123 ·
prometheus/client_python の issue をすべて見る
似ている issue
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
[Feature] 奇物选择添加优先级 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
syfoud/Simulated_Scepter#174 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Giskard-AI/giskard-oss#2840 · コメント 1 件 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success オープンarea: repo bug perceived difficulty: 2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yeti-platform/yeti#1380 ·