Skip to content

Commit

Permalink
fix: should use table_metric for MV throughput (#18265)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyufjh authored Aug 27, 2024
1 parent 6bd0e89 commit 63b4d47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/dashboards/risingwave-dev-dashboard.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions grafana/risingwave-dev-dashboard.dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ def section_streaming(outer_panels):
"The figure shows the number of rows written into each materialized view per second.",
[
panels.target(
f"sum(rate({metric('stream_mview_input_row_count')}[$__rate_interval])) by (table_id) * on(table_id) group_left(table_name) group({metric('table_info')}) by (table_id, table_name)",
f"sum(rate({table_metric('stream_mview_input_row_count')}[$__rate_interval])) by (table_id) * on(table_id) group_left(table_name) group({metric('table_info')}) by (table_id, table_name)",
"mview {{table_id}} {{table_name}}",
),
],
Expand All @@ -889,7 +889,7 @@ def section_streaming(outer_panels):
"The figure shows the number of rows written into each materialized view per second.",
[
panels.target(
f"rate({metric('stream_mview_input_row_count')}[$__rate_interval]) * on(fragment_id, table_id) group_left(table_name) {metric('table_info')}",
f"rate({table_metric('stream_mview_input_row_count')}[$__rate_interval]) * on(fragment_id, table_id) group_left(table_name) {metric('table_info')}",
"mview {{table_id}} {{table_name}} - actor {{actor_id}} fragment_id {{fragment_id}}",
),
],
Expand Down
2 changes: 1 addition & 1 deletion grafana/risingwave-dev-dashboard.json

Large diffs are not rendered by default.

0 comments on commit 63b4d47

Please sign in to comment.