Skip to content

Commit

Permalink
Fix admin metrics name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Newton committed Feb 27, 2024
1 parent 3dc91c3 commit 4e46730
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deployment/stats/prometheus/flyteadmin-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@
"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,
"interval": "",
"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": ""
Expand Down
2 changes: 1 addition & 1 deletion stats/flyteadmin.dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down

0 comments on commit 4e46730

Please sign in to comment.