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

Support OpenMetrics 2.0 exposition format

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

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

評価

難易度
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

prometheus/client_python のほかの issue

prometheus/client_python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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