Skip to content

Commit

Permalink
fix for a bug discribed here kubernetes-monitoring/kubernetes-mixin#136
Browse files Browse the repository at this point in the history
… (doubles values for container_cpu_usage
  • Loading branch information
DarthSlider committed Jul 17, 2019
1 parent 3447ecd commit 392edac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions namespace-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum (rate(container_cpu_usage_seconds_total{namespace=\"$namespace\"}[1m]))",
"expr": "sum (rate(container_cpu_usage_seconds_total{image !=\"\",namespace=\"$namespace\"}[1m]))",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
Expand Down Expand Up @@ -1311,4 +1311,4 @@
"uid": "P2SL71Nmk",
"version": 32,
"description": "Display usage of ResourceQuota by namespace in kubernetes cluster. "
}
}

0 comments on commit 392edac

Please sign in to comment.