Skip to content

Commit

Permalink
Merge pull request #566 from istvanballok/ksm
Browse files Browse the repository at this point in the history
Adjust metric name due to upgrading the kube-state-metrics component
  • Loading branch information
dkistner authored Aug 8, 2022
2 parents 283e0ab + b7c3341 commit 86fc639
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@
"refId": "A"
},
{
"expr": "sum(kube_pod_container_resource_limits_cpu_cores{pod=~\"machine-controller-manager-(.+)\"}) by (pod)",
"expr": "sum(kube_pod_container_resource_limits{resource=\"cpu\", unit=\"core\", pod=~\"machine-controller-manager-(.+)\"}) by (pod)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Limits ({{pod}})",
"refId": "C"
},
{
"expr": "sum(kube_pod_container_resource_requests_cpu_cores{pod=~\"machine-controller-manager-(.+)\"}) by (pod)",
"expr": "sum(kube_pod_container_resource_requests{resource=\"cpu\", unit=\"core\", pod=~\"machine-controller-manager-(.+)\"}) by (pod)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requests ({{pod}})",
Expand Down Expand Up @@ -250,14 +250,14 @@
"refId": "A"
},
{
"expr": "sum(kube_pod_container_resource_limits_memory_bytes{pod=~\"machine-controller-manager-(.+)\"}) by (pod)",
"expr": "sum(kube_pod_container_resource_limits{resource=\"memory\", unit=\"byte\", pod=~\"machine-controller-manager-(.+)\"}) by (pod)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Limits ({{pod}})",
"refId": "B"
},
{
"expr": "sum(kube_pod_container_resource_requests_memory_bytes{pod=~\"machine-controller-manager-(.+)\"}) by (pod)",
"expr": "sum(kube_pod_container_resource_requests{resource=\"memory\", unit=\"byte\", pod=~\"machine-controller-manager-(.+)\"}) by (pod)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requests ({{pod}})",
Expand Down

0 comments on commit 86fc639

Please sign in to comment.