prometheus / prometheus/client_python
No file is created in the assigned multiprocess directory
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 4.4k
- フォーク
- 876
- 平均マージ
- 8日 4時間
- マージ済み PR(30日)
- 1
説明
I've been trying to use multiprocessing mode but I'm struggling to make it work properly.
Even though I set the multiprocess directory, no metric writes any files. I've checked for permissions for writing in the directory and they exist.
I'm currently trying to work with a Gauge in the livesum mode. The metric is incrementing properly within the application but no updates are made available to Prometheus. Is anything else other than setting the directory and a multiprocess mode for the Gauge needed that I might be missing?
I'm using Prometheus inside a Docker container with the port forwarding.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、設定されたマルチプロセスディレクトリを使って、報告された Gauge を livesum モードで再現し、その後、issue に記載されたマルチプロセス設定と Docker から Prometheus への接続を調べます。完了条件は、メトリクスファイルも Prometheus の更新も現れない理由を特定し、再現可能な修正または不足している設定を文書化することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, prometheus, python
- 領域
- observability-sre
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100