prometheus / prometheus/client_python
add complete documentation
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 4.4k
- フォーク
- 876
- 平均マージ
- 8日 4時間
- マージ済み PR(30日)
- 1
説明
Hey.
It would be nice if there was something like a write_to_stdout() function, or if write_to_textfile() would somehow allow writing to stdout.
For debugging that would seem to be much more helpful. Also, distros may have their own unified means of collecting the .prom files and thus even in production it may make sense to let a program simply write the metrics to stdout.
Cheers,
Chris.
PS: Using /dev/stdout doesn't work, as it tries to write it's tmpfile there.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず write_to_textfile() を見つけ、/dev/stdout のケースをどのように処理しているかを確認します。既存のファイル出力を維持しながらメトリクスを stdout に直接書き込む場合の期待される動作を特定し、その後、両方の出力パスが意図したとおりに機能することを確認します。issue ではファイルやテストは指定されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- observability
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100