Skip to content

Commit

Permalink
chore(metrics): add instance info for read avg of object operation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
KeXiangWang authored Feb 27, 2023
1 parent e9bc44b commit b54d177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions grafana/risingwave-dashboard.dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,8 +845,8 @@ def section_object_storage(outer_panels):
[50, 90, 99, "max"],
),
panels.target(
f"sum by(le, type)(rate({metric('object_store_operation_latency_sum')}[$__rate_interval])) / sum by(le, type) (rate({metric('object_store_operation_latency_count')}[$__rate_interval]))",
"{{type}} avg",
f"sum by(le, type, job, instance)(rate({metric('object_store_operation_latency_sum')}[$__rate_interval])) / sum by(le, type, job, instance) (rate({metric('object_store_operation_latency_count')}[$__rate_interval]))",
"{{type}} avg - {{job}} @ {{instance}}",
),
],
),
Expand Down
2 changes: 1 addition & 1 deletion grafana/risingwave-dashboard.json

Large diffs are not rendered by default.

0 comments on commit b54d177

Please sign in to comment.