Skip to content

Commit

Permalink
Remove units suffix from dashboard (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomac authored Nov 14, 2023
1 parent e76fc9b commit bcdb9a3
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions grafana/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sort_desc(topk by(http_route, service_name) (5, max by (http_route, service_name) (histogram_quantile(0.95, (sum by(http_route, service_name, le) (rate(http_server_duration_seconds_bucket{instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))))))",
"expr": "sort_desc(topk by(http_route, service_name) (5, max by (http_route, service_name) (histogram_quantile(0.95, (sum by(http_route, service_name, le) (rate(http_server_duration_bucket{instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))))))",
"format": "table",
"hide": false,
"instant": true,
Expand Down Expand Up @@ -286,7 +286,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sort_desc(topk by(rpc_method, service_name) (5, max by (rpc_method, service_name) (histogram_quantile(0.95, (sum by(rpc_method, service_name, le) (rate(rpc_server_duration_seconds_bucket{instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))))))",
"expr": "sort_desc(topk by(rpc_method, service_name) (5, max by (rpc_method, service_name) (histogram_quantile(0.95, (sum by(rpc_method, service_name, le) (rate(rpc_server_duration_bucket{instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))))))",
"format": "table",
"hide": false,
"instant": true,
Expand Down Expand Up @@ -417,7 +417,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.99, sum by(service_name, le) (rate(http_server_duration_seconds_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"expr": "histogram_quantile(0.99, sum by(service_name, le) (rate(http_server_duration_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"legendFormat": "HTTP p99",
"range": true,
"refId": "A"
Expand All @@ -428,7 +428,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum(rate(http_server_duration_seconds_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) by (service_name, le))",
"expr": "histogram_quantile(0.95, sum(rate(http_server_duration_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) by (service_name, le))",
"hide": false,
"legendFormat": "HTTP p95",
"range": true,
Expand All @@ -440,7 +440,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(rate(http_server_duration_seconds_sum{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) / sum(rate(http_server_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval]))",
"expr": "sum(rate(http_server_duration_sum{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) / sum(rate(http_server_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval]))",
"hide": false,
"legendFormat": "HTTP Avg",
"range": true,
Expand All @@ -452,7 +452,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.99, sum by(service_name, le) (rate(rpc_server_duration_seconds_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"expr": "histogram_quantile(0.99, sum by(service_name, le) (rate(rpc_server_duration_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"hide": false,
"legendFormat": "RPC p99",
"range": true,
Expand All @@ -464,7 +464,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum by(service_name, le) (rate(rpc_server_duration_seconds_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"expr": "histogram_quantile(0.95, sum by(service_name, le) (rate(rpc_server_duration_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"hide": false,
"legendFormat": "RPC p95",
"range": true,
Expand All @@ -476,7 +476,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(rate(rpc_server_duration_seconds_sum{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) / sum(rate(rpc_server_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval]))",
"expr": "sum(rate(rpc_server_duration_sum{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) / sum(rate(rpc_server_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval]))",
"hide": false,
"legendFormat": "RPC Avg",
"range": true,
Expand Down Expand Up @@ -571,7 +571,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(rate(http_server_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) by (http_status_code)",
"expr": "sum(rate(http_server_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) by (http_status_code)",
"hide": false,
"legendFormat": "HTTP server - {{http_status_code}}",
"range": true,
Expand All @@ -583,7 +583,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(rate(rpc_server_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) by (service_name, rpc_grpc_status_code)",
"expr": "sum(rate(rpc_server_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) by (service_name, rpc_grpc_status_code)",
"hide": false,
"legendFormat": "RPC server (status {{rpc_grpc_status_code}})",
"range": true,
Expand Down Expand Up @@ -704,7 +704,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum by (http_status_code) (rate(http_server_duration_seconds_count{service_name=\"${Service}\",http_status_code=~\"(4|5).*\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) / ignoring(http_status_code) group_left sum(rate(http_server_duration_seconds_count{service_name=\"${Service}\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval]))",
"expr": "sum by (http_status_code) (rate(http_server_duration_count{service_name=\"${Service}\",http_status_code=~\"(4|5).*\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) / ignoring(http_status_code) group_left sum(rate(http_server_duration_count{service_name=\"${Service}\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval]))",
"hide": false,
"legendFormat": "HTTP server - {{http_status_code}}",
"range": true,
Expand All @@ -716,7 +716,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum by (rpc_grpc_status_code) (rate(rpc_server_duration_seconds_count{service_name=\"${Service}\",rpc_grpc_status_code!=\"0\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) / ignoring(rpc_grpc_status_code) group_left sum(rate(rpc_server_duration_seconds_count{service_name=\"${Service}\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval]))",
"expr": "sum by (rpc_grpc_status_code) (rate(rpc_server_duration_count{service_name=\"${Service}\",rpc_grpc_status_code!=\"0\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) / ignoring(rpc_grpc_status_code) group_left sum(rate(rpc_server_duration_count{service_name=\"${Service}\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval]))",
"hide": false,
"legendFormat": "RPC server (status {{rpc_grpc_status_code}})",
"range": true,
Expand Down Expand Up @@ -826,7 +826,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.99, sum by(service_name, le) (rate(http_client_duration_seconds_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"expr": "histogram_quantile(0.99, sum by(service_name, le) (rate(http_client_duration_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"legendFormat": "HTTP p99",
"range": true,
"refId": "A"
Expand All @@ -837,7 +837,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum(rate(http_client_duration_seconds_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) by (service_name, le)) ",
"expr": "histogram_quantile(0.95, sum(rate(http_client_duration_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) by (service_name, le)) ",
"hide": false,
"legendFormat": "HTTP p95",
"range": true,
Expand All @@ -849,7 +849,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(rate(http_client_duration_seconds_sum{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) / sum(rate(http_client_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval]))",
"expr": "sum(rate(http_client_duration_sum{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) / sum(rate(http_client_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval]))",
"hide": false,
"legendFormat": "HTTP Avg",
"range": true,
Expand All @@ -861,7 +861,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(rate(rpc_client_duration_seconds_sum{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) / sum(rate(rpc_client_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval]))",
"expr": "sum(rate(rpc_client_duration_sum{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) / sum(rate(rpc_client_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval]))",
"hide": false,
"legendFormat": "RPC Avg",
"range": true,
Expand All @@ -873,7 +873,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.99, sum by(service_name, le) (rate(rpc_client_duration_seconds_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"expr": "histogram_quantile(0.99, sum by(service_name, le) (rate(rpc_client_duration_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])))",
"hide": false,
"legendFormat": "RPC p99",
"range": true,
Expand All @@ -885,7 +885,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum(rate(rpc_client_duration_seconds_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) by (service_name, le)) ",
"expr": "histogram_quantile(0.95, sum(rate(rpc_client_duration_bucket{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) by (service_name, le)) ",
"hide": false,
"legendFormat": "RPC p95",
"range": true,
Expand Down Expand Up @@ -980,7 +980,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(rate(http_client_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) by (service_name, http_status_code)",
"expr": "sum(rate(http_client_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) by (service_name, http_status_code)",
"legendFormat": "HTTP client - {{http_status_code}}",
"range": true,
"refId": "A"
Expand All @@ -991,7 +991,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(rate(rpc_client_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) by (service_name, rpc_grpc_status_code)",
"expr": "sum(rate(rpc_client_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) by (service_name, rpc_grpc_status_code)",
"hide": false,
"legendFormat": "RPC client (status {{rpc_grpc_status_code}})",
"range": true,
Expand Down Expand Up @@ -1112,7 +1112,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum by (http_status_code) (rate(http_client_duration_seconds_count{service_name=\"$Service\",http_status_code=~\"5.*\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) / ignoring(http_status_code) group_left sum(rate(http_client_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval]))",
"expr": "sum by (http_status_code) (rate(http_client_duration_count{service_name=\"$Service\",http_status_code=~\"5.*\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) / ignoring(http_status_code) group_left sum(rate(http_client_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval]))",
"hide": false,
"legendFormat": "HTTP client - {{http_status_code}}",
"range": true,
Expand All @@ -1124,7 +1124,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum by (rpc_grpc_status_code) (rate(rpc_client_duration_seconds_count{service_name=\"$Service\",rpc_grpc_status_code!=\"0\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) / ignoring(rpc_grpc_status_code) group_left sum(rate(rpc_client_duration_seconds_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval]))",
"expr": "sum by (rpc_grpc_status_code) (rate(rpc_client_duration_count{service_name=\"$Service\",rpc_grpc_status_code!=\"0\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) / ignoring(rpc_grpc_status_code) group_left sum(rate(rpc_client_duration_count{service_name=\"$Service\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval]))",
"hide": false,
"legendFormat": "RPC client (status {{rpc_grpc_status_code}})",
"range": true,
Expand Down

0 comments on commit bcdb9a3

Please sign in to comment.