From f76c2e90187dcdd4b2581c0eeebefc71e29e47d5 Mon Sep 17 00:00:00 2001 From: Kexiang Wang Date: Thu, 30 May 2024 21:36:11 -0400 Subject: [PATCH] fmt --- grafana/risingwave-dev-dashboard.dashboard.py | 4 ++-- grafana/risingwave-user-dashboard.dashboard.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/grafana/risingwave-dev-dashboard.dashboard.py b/grafana/risingwave-dev-dashboard.dashboard.py index 85ef2e7fb9b9d..bafba0051909e 100644 --- a/grafana/risingwave-dev-dashboard.dashboard.py +++ b/grafana/risingwave-dev-dashboard.dashboard.py @@ -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"], @@ -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"], diff --git a/grafana/risingwave-user-dashboard.dashboard.py b/grafana/risingwave-user-dashboard.dashboard.py index c2c8f696b6097..338c42d1d022e 100644 --- a/grafana/risingwave-user-dashboard.dashboard.py +++ b/grafana/risingwave-user-dashboard.dashboard.py @@ -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"], @@ -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"],