From 4e4673063e1093a222bcd07a9060f462944130a6 Mon Sep 17 00:00:00 2001 From: Thomas Newton Date: Tue, 27 Feb 2024 16:06:19 +0000 Subject: [PATCH] Fix admin metrics name --- deployment/stats/prometheus/flyteadmin-dashboard.json | 4 ++-- stats/flyteadmin.dashboard.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/stats/prometheus/flyteadmin-dashboard.json b/deployment/stats/prometheus/flyteadmin-dashboard.json index 4f55e67ea49..940a648735d 100644 --- a/deployment/stats/prometheus/flyteadmin-dashboard.json +++ b/deployment/stats/prometheus/flyteadmin-dashboard.json @@ -114,7 +114,7 @@ "targets": [ { "datasource": null, - "expr": "sum by(le) (rate(grpc_client_handling_seconds_bucket[5m]))", + "expr": "sum by(le) (rate(grpc_server_handling_seconds_bucket[5m]))", "format": "heatmap", "hide": false, "instant": false, @@ -122,7 +122,7 @@ "intervalFactor": 2, "legendFormat": "{{le}}", "metric": "", - "query": "sum by(le) (rate(grpc_client_handling_seconds_bucket[5m]))", + "query": "sum by(le) (rate(grpc_server_handling_seconds_bucket[5m]))", "refId": "A", "step": 10, "target": "" diff --git a/stats/flyteadmin.dashboard.py b/stats/flyteadmin.dashboard.py index a9ae3f41c0f..41cdb0d242c 100644 --- a/stats/flyteadmin.dashboard.py +++ b/stats/flyteadmin.dashboard.py @@ -216,7 +216,7 @@ def grpc_latency_histogram() -> Graph: dataSource=DATASOURCE, targets=[ Target( - expr="sum by(le) (rate(grpc_client_handling_seconds_bucket[5m]))", + expr="sum by(le) (rate(grpc_server_handling_seconds_bucket[5m]))", refId="A", format="heatmap", legendFormat=r"{{le}}",