prometheus / prometheus/client_python

Set label-specific timestamps

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

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

主要言語
Python
スター
4.4k
フォーク
876
平均マージ
8日 4時間
マージ済み PR(30日)
1

説明

Issue #588 describes a way to set a timestamp for a whole metric using a custom collector. However, this solution does not work if different timestamps for different labels are required (e.g. a metric temperature with label source=node1 and source=node2) a more specific setting is described here and additional reasoning for this feature can be found here.

As issue #588 is closed and does not seem to get much attention anymore I decided to create a new issue for this more specific use case.

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

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

はじめの一歩

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

調査の方向性

まず issue #588 と、既存の custom-collector アプローチおよび要求されているラベル固有の動作について説明している、リンクされた 2 件のコメントを読んでください。各ラベルセットで異なるタイムスタンプをサポートする場合にどうあるべきかを定義し、温度の例に対して検証してください。

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

評価

技術スタック
python
領域
observability-sre
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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