Skip to content

Commit

Permalink
feat: use apiserver_request_duration_seconds_bucket (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongfei605 authored Aug 6, 2022
1 parent 1b870c4 commit 03df5bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboards/k8s-system-api-server.json
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@
"uid": "${datasource}"
},
"exemplar": true,
"expr": "sum(rate(rest_client_request_duration_seconds_bucket{job=\"apiserver\"}[$__rate_interval])) by (instance)",
"expr": "sum(rate(apiserver_request_duration_seconds_bucket{job=\"apiserver\"}[$__rate_interval])) by (instance)",
"interval": "$resolution",
"legendFormat": "{{ instance }}",
"refId": "A"
Expand Down Expand Up @@ -650,7 +650,7 @@
"uid": "${datasource}"
},
"exemplar": true,
"expr": "sum(rate(rest_client_request_duration_seconds_bucket{job=\"apiserver\"}[$__rate_interval])) by (verb)",
"expr": "sum(rate(apiserver_request_duration_seconds_bucket{job=\"apiserver\"}[$__rate_interval])) by (verb)",
"interval": "$resolution",
"legendFormat": "{{ verb }}",
"refId": "A"
Expand Down

0 comments on commit 03df5bd

Please sign in to comment.