Fixed broken CPU query

Signed-off-by: Brian Christner <brian.christner@gmail.com>
This commit is contained in:
Brian Christner 2019-05-01 15:16:42 -07:00
parent d7dfa8ec17
commit ca17abad43
No known key found for this signature in database
GPG Key ID: ECA21DC2A2758F38
1 changed files with 11 additions and 46 deletions

View File

@ -1,46 +1,4 @@
{
"__inputs": [
{
"name": "Prometheus",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.2.2"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "5.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": "5.0.0"
}
],
"annotations": {
"list": [
{
@ -58,8 +16,7 @@
"editable": true,
"gnetId": 179,
"graphTooltip": 1,
"id": null,
"iteration": 1533037835187,
"iteration": 1556748725233,
"links": [],
"panels": [
{
@ -712,6 +669,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Node Network Traffic",
"tooltip": {
@ -808,6 +766,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Node Mermory",
"tooltip": {
@ -899,6 +858,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Filesystem Available",
"tooltip": {
@ -998,7 +958,7 @@
"steppedLine": false,
"targets": [
{
"expr": "container_cpu_load_average_10s{image!=\"\"}",
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\"}[1m])) by (id,name)",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
@ -1010,6 +970,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Container CPU usage",
"tooltip": {
@ -1107,6 +1068,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Container Memory Usage",
"tooltip": {
@ -1256,6 +1218,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Container Network Input",
"tooltip": {
@ -1352,6 +1315,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Container Network Output",
"tooltip": {
@ -1542,6 +1506,7 @@
],
"query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
"refresh": 2,
"skipUrlSync": false,
"type": "interval"
}
]
@ -1578,5 +1543,5 @@
"timezone": "browser",
"title": "Docker Prometheus Monitoring",
"uid": "64nrElFmk",
"version": 4
"version": 2
}