Merge pull request #105 from izewfktvy533zjmn/master

Fixes carlosedp/cluster-monitoring#104
This commit is contained in:
Carlos Eduardo 2020-12-30 13:51:20 -03:00 committed by GitHub
commit 39975951e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18258,7 +18258,7 @@ items:
"tableColumn": "", "tableColumn": "",
"targets": [ "targets": [
{ {
"expr": "sum(kubelet_running_pod_count{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"})", "expr": "sum(kubelet_running_pods{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{instance}}", "legendFormat": "{{instance}}",
@ -18342,7 +18342,7 @@ items:
"tableColumn": "", "tableColumn": "",
"targets": [ "targets": [
{ {
"expr": "sum(kubelet_running_container_count{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"})", "expr": "sum(kubelet_running_containers{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{instance}}", "legendFormat": "{{instance}}",
@ -18350,7 +18350,7 @@ items:
} }
], ],
"thresholds": "", "thresholds": "",
"title": "Running Container", "title": "Running Containers",
"tooltip": { "tooltip": {
"shared": false "shared": false
}, },