Update Grafana_Dashboard.json

Updated Dashboard. Split network graphs and fined tuned some other graphs
This commit is contained in:
Brian Christner 2016-08-22 16:26:38 +02:00 committed by GitHub
parent 36a7b4a871
commit 9c1897bfc6

View File

@ -36,7 +36,7 @@
} }
], ],
"id": null, "id": null,
"title": "Docker Monitoring with Prometheus", "title": "Grafana_Dashboard.json",
"description": "Docker Monitoring Template", "description": "Docker Monitoring Template",
"tags": [ "tags": [
"docker" "docker"
@ -44,7 +44,7 @@
"style": "dark", "style": "dark",
"timezone": "browser", "timezone": "browser",
"editable": true, "editable": true,
"hideControls": true, "hideControls": false,
"sharedCrosshair": true, "sharedCrosshair": true,
"rows": [ "rows": [
{ {
@ -340,7 +340,7 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sort_desc(sum(container_cpu_user_seconds_total{image!=\"\"}) by (name))", "expr": "sort_desc(sum(rate(container_cpu_user_seconds_total{image!=\"\"}[1m])) by (name))",
"interval": "10s", "interval": "10s",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "{{ name }}", "legendFormat": "{{ name }}",
@ -364,7 +364,7 @@
}, },
"yaxes": [ "yaxes": [
{ {
"format": "percent", "format": "percentunit",
"label": null, "label": null,
"logBase": 1, "logBase": 1,
"max": null, "max": null,
@ -518,26 +518,18 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum by (container_name) (rate(container_network_receive_bytes_total{image!=\"\"}[1m] ) )", "expr": "sort_desc(sum by (name) (rate(container_network_receive_bytes_total{image!=\"\",alias=\"$host\"}[1m] ) ))",
"interval": "10s", "interval": "10s",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "{{ Receive }}", "legendFormat": "{{ name }}",
"metric": "container_network_receive_bytes_total", "metric": "container_network_receive_bytes_total",
"refId": "A", "refId": "A",
"step": 10 "step": 10
},
{
"expr": "sum by (container_name) (rate(container_network_transmit_bytes_total{image!=\"\"}[1m] ) )",
"intervalFactor": 2,
"legendFormat": "{{ Transmit }}",
"metric": "container_network_transmit_bytes_total",
"refId": "B",
"step": 4
} }
], ],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "Total Network i/o", "title": "Container Network Input",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
@ -566,6 +558,90 @@
"show": true "show": true
} }
] ]
},
{
"aliasColors": { },
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 9,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [ ],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [ ],
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sort_desc(sum by (name) (rate(container_network_transmit_bytes_total{image!=\"\", alias=\"$host\"}[1m] ) ))",
"intervalFactor": 2,
"legendFormat": "{{ name }}",
"metric": "container_network_transmit_bytes_total",
"refId": "B",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "Container Network Output",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
} }
], ],
"title": "New row" "title": "New row"
@ -608,7 +684,7 @@
}, },
"refresh": "10s", "refresh": "10s",
"schemaVersion": 12, "schemaVersion": 12,
"version": 6, "version": 1,
"links": [], "links": [],
"gnetId": 162 "gnetId": 162
} }