[Bug] probable incorrect prometheus query on "State Transitions" panel used for measuring state transitions per second

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

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

  • #72 @ntnj による — マージされずにクローズ

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
prometheus
領域
observability

調査の方向性

server/server-general.json の 1467 行付近から始め、State Transitions パネルで使用されている Prometheus クエリを調べます。選択されているメトリクスが datapoint counts を表しているのか、summed transition values を表しているのかを確認し、その後、パネルが transitions per second を測定し、意図された monthly total をサポートするようにクエリを更新します。

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

説明

bug
What are you really trying to do?

Trying to measure state transitions per second (+ also count total state transitions per month)

Describe the bug

https://github.com/temporalio/dashboards/blob/master/server/server-general.json#L1467 its using the metric state_transition_count_count.

Should'nt we be using state_transition_count_sum given that the _count metric merely gives you number of datapoints in the window, and not the sum of values associated with each datapoint?

主要言語
言語のデータがありません
スター
140
フォーク
51
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

temporalio/observability-examples のほかの issue

temporalio/observability-examples の issue をすべて見る

似ている issue

Observability & SRE の issue をもっと見る

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

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