prometheus / prometheus/client_python

No file is created in the assigned multiprocess directory

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

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

主要言語
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.

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

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

はじめの一歩

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

調査の方向性

まず、設定されたマルチプロセスディレクトリを使って、報告された Gauge を livesum モードで再現し、その後、issue に記載されたマルチプロセス設定と Docker から Prometheus への接続を調べます。完了条件は、メトリクスファイルも Prometheus の更新も現れない理由を特定し、再現可能な修正または不足している設定を文書化することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, prometheus, python
領域
observability-sre
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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