Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KeXiangWang committed May 31, 2024
1 parent 8ea25f3 commit f76c2e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions grafana/risingwave-dev-dashboard.dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -1867,7 +1867,7 @@ def section_frontend(outer_panels):
lambda quantile, legend: panels.target(
f"histogram_quantile({quantile}, sum(rate({metric('distributed_query_latency_bucket')}[$__rate_interval])) by (le, {COMPONENT_LABEL}, {NODE_LABEL}))",
f"p{legend}"
+ " - {{%s}} @ {{%s}}"
+ " - {{%s}} @ {{%s}}"
% (COMPONENT_LABEL, NODE_LABEL),
),
[50, 90, 99, "max"],
Expand All @@ -1882,7 +1882,7 @@ def section_frontend(outer_panels):
lambda quantile, legend: panels.target(
f"histogram_quantile({quantile}, sum(rate({metric('frontend_latency_local_execution_bucket')}[$__rate_interval])) by (le, {COMPONENT_LABEL}, {NODE_LABEL}))",
f"p{legend}"
+ " - {{%s}} @ {{%s}}"
+ " - {{%s}} @ {{%s}}"
% (COMPONENT_LABEL, NODE_LABEL),
),
[50, 90, 99, "max"],
Expand Down
4 changes: 2 additions & 2 deletions grafana/risingwave-user-dashboard.dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def section_batch(outer_panels):
lambda quantile, legend: panels.target(
f"histogram_quantile({quantile}, sum(rate({metric('distributed_query_latency_bucket')}[$__rate_interval])) by (le, {COMPONENT_LABEL}, {NODE_LABEL}))",
f"p{legend}"
+ " - {{%s}} @ {{%s}}"
+ " - {{%s}} @ {{%s}}"
% (COMPONENT_LABEL, NODE_LABEL),
),
[50, 90, 99, "max"],
Expand All @@ -804,7 +804,7 @@ def section_batch(outer_panels):
lambda quantile, legend: panels.target(
f"histogram_quantile({quantile}, sum(rate({metric('frontend_latency_local_execution_bucket')}[$__rate_interval])) by (le, {COMPONENT_LABEL}, {NODE_LABEL}))",
f"p{legend}"
+ " - {{%s}} @ {{%s}}"
+ " - {{%s}} @ {{%s}}"
% (COMPONENT_LABEL, NODE_LABEL),
),
[50, 90, 99, "max"],
Expand Down

0 comments on commit f76c2e9

Please sign in to comment.