Created
October 15, 2018 10:06
-
-
Save njadhav1/37728ddc759ca188a2758c62721f43a0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "$$hashKey": "object:88", | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| } | |
| ] | |
| }, | |
| "description": "A simple overview of the most important Docker host and container metrics. (cAdvisor/Prometheus)", | |
| "editable": true, | |
| "gnetId": 395, | |
| "graphTooltip": 1, | |
| "id": 13, | |
| "iteration": 1539595419008, | |
| "links": [], | |
| "panels": [ | |
| { | |
| "aliasColors": { | |
| "outbound": "#1F78C1" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "ES", | |
| "fill": 3, | |
| "gridPos": { | |
| "h": 11, | |
| "w": 17, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 24, | |
| "interval": ">10s", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [ | |
| { | |
| "alias": "outbound", | |
| "yaxis": 1 | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "mount_point:{{term system.filesystem.mount_point}} - type:{{term system.filesystem.type}}", | |
| "bucketAggs": [ | |
| { | |
| "fake": true, | |
| "field": "system.filesystem.mount_point", | |
| "id": "4", | |
| "settings": { | |
| "min_doc_count": 1, | |
| "order": "desc", | |
| "orderBy": "_term", | |
| "size": "0" | |
| }, | |
| "type": "terms" | |
| }, | |
| { | |
| "fake": true, | |
| "field": "system.filesystem.type", | |
| "id": "7", | |
| "settings": { | |
| "min_doc_count": 1, | |
| "order": "desc", | |
| "orderBy": "_term", | |
| "size": "0" | |
| }, | |
| "type": "terms" | |
| }, | |
| { | |
| "fake": true, | |
| "field": "@timestamp", | |
| "id": "6", | |
| "settings": { | |
| "interval": "auto", | |
| "min_doc_count": 0, | |
| "trimEdges": 0 | |
| }, | |
| "type": "date_histogram" | |
| } | |
| ], | |
| "dsType": "elasticsearch", | |
| "expr": "", | |
| "format": "time_series", | |
| "hide": false, | |
| "intervalFactor": 1, | |
| "metrics": [ | |
| { | |
| "field": "system.filesystem.free", | |
| "id": "1", | |
| "inlineScript": null, | |
| "meta": {}, | |
| "settings": {}, | |
| "type": "avg" | |
| } | |
| ], | |
| "query": "metricset.module:system AND metricset.name:filesystem AND beat.hostname:kuber1.tuxhub.com", | |
| "refId": "B", | |
| "timeField": "@timestamp" | |
| }, | |
| { | |
| "alias": "mount_point:{{term system.filesystem.mount_point}} - type:{{term system.filesystem.type}}", | |
| "bucketAggs": [ | |
| { | |
| "fake": true, | |
| "field": "system.filesystem.mount_point", | |
| "id": "4", | |
| "settings": { | |
| "min_doc_count": 1, | |
| "order": "desc", | |
| "orderBy": "_term", | |
| "size": "0" | |
| }, | |
| "type": "terms" | |
| }, | |
| { | |
| "fake": true, | |
| "field": "system.filesystem.type", | |
| "id": "5", | |
| "settings": { | |
| "min_doc_count": 1, | |
| "order": "desc", | |
| "orderBy": "_term", | |
| "size": "0" | |
| }, | |
| "type": "terms" | |
| }, | |
| { | |
| "field": "@timestamp", | |
| "id": "2", | |
| "settings": { | |
| "interval": "auto", | |
| "min_doc_count": 0, | |
| "trimEdges": 0 | |
| }, | |
| "type": "date_histogram" | |
| } | |
| ], | |
| "dsType": "elasticsearch", | |
| "expr": "", | |
| "format": "time_series", | |
| "hide": false, | |
| "intervalFactor": 1, | |
| "metrics": [ | |
| { | |
| "field": "system.filesystem.used.bytes", | |
| "id": "1", | |
| "inlineScript": null, | |
| "meta": {}, | |
| "settings": {}, | |
| "type": "avg" | |
| } | |
| ], | |
| "query": "metricset.module:system AND metricset.name:filesystem AND beat.hostname:kuber1.tuxhub.com", | |
| "refId": "A", | |
| "timeField": "@timestamp" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Disk Usage", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "decbytes", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "decbytes", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "Prometheus", | |
| "editable": true, | |
| "error": false, | |
| "fill": 5, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 7, | |
| "x": 17, | |
| "y": 0 | |
| }, | |
| "id": 1, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum(rate(container_cpu_usage_seconds_total{name=~\".+\"}[$interval])) by (name) * 100", | |
| "hide": false, | |
| "interval": "", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{name}}", | |
| "metric": "container_cp", | |
| "refId": "F", | |
| "step": 2 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU Usage per Container (Stacked)", | |
| "tooltip": { | |
| "msResolution": true, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": false | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": { | |
| "cpu": "#E24D42", | |
| "memory": "#6ED0E0" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "ES", | |
| "decimals": 2, | |
| "fill": 3, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 7, | |
| "x": 17, | |
| "y": 5 | |
| }, | |
| "id": 26, | |
| "interval": ">10s", | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [ | |
| { | |
| "alias": "cpu", | |
| "fill": 0, | |
| "lines": true, | |
| "yaxis": 1, | |
| "zindex": 2 | |
| }, | |
| { | |
| "alias": "memory", | |
| "yaxis": 2 | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "cpu", | |
| "bucketAggs": [ | |
| { | |
| "field": "@timestamp", | |
| "id": "2", | |
| "settings": { | |
| "interval": "auto", | |
| "min_doc_count": 0, | |
| "trimEdges": 0 | |
| }, | |
| "type": "date_histogram" | |
| } | |
| ], | |
| "dsType": "elasticsearch", | |
| "hide": false, | |
| "metrics": [ | |
| { | |
| "field": "system.cpu.system.pct", | |
| "id": "3", | |
| "inlineScript": null, | |
| "meta": {}, | |
| "settings": {}, | |
| "type": "avg" | |
| } | |
| ], | |
| "query": "metricset.module:system AND metricset.name:cpu AND beat.hostname:kuber1.tuxhub.com", | |
| "refId": "A", | |
| "timeField": "@timestamp" | |
| }, | |
| { | |
| "alias": "memory", | |
| "bucketAggs": [ | |
| { | |
| "field": "@timestamp", | |
| "id": "2", | |
| "settings": { | |
| "interval": "auto", | |
| "min_doc_count": 0, | |
| "trimEdges": 0 | |
| }, | |
| "type": "date_histogram" | |
| } | |
| ], | |
| "dsType": "elasticsearch", | |
| "hide": false, | |
| "metrics": [ | |
| { | |
| "field": "system.memory.actual.used.pct", | |
| "id": "1", | |
| "inlineScript": null, | |
| "meta": {}, | |
| "settings": {}, | |
| "type": "avg" | |
| } | |
| ], | |
| "query": "metricset.module:system AND metricset.name:memory", | |
| "refId": "B", | |
| "timeField": "@timestamp" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU / Memory", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percentunit", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": "0.00", | |
| "show": true | |
| }, | |
| { | |
| "format": "percentunit", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": false | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": false, | |
| "colorValue": true, | |
| "colors": [ | |
| "#3f6833", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#d44a3a" | |
| ], | |
| "datasource": "Prometheus", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": true, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 4, | |
| "x": 0, | |
| "y": 11 | |
| }, | |
| "id": 22, | |
| "interval": null, | |
| "links": [], | |
| "mappingType": 1, | |
| "mappingTypes": [ | |
| { | |
| "name": "value to text", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "range to text", | |
| "value": 2 | |
| } | |
| ], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "connected", | |
| "nullText": null, | |
| "postfix": "", | |
| "postfixFontSize": "50%", | |
| "prefix": "", | |
| "prefixFontSize": "50%", | |
| "rangeMaps": [ | |
| { | |
| "from": "null", | |
| "text": "N/A", | |
| "to": "null" | |
| } | |
| ], | |
| "sparkline": { | |
| "fillColor": "rgba(31, 118, 189, 0.18)", | |
| "full": false, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": false | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "expr": "count(rate(container_last_seen{name=~\".+\"}[$interval]))", | |
| "format": "time_series", | |
| "intervalFactor": 2, | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": "", | |
| "title": "Container Running", | |
| "type": "singlestat", | |
| "valueFontSize": "80%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "avg" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "Prometheus", | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 12, | |
| "x": 4, | |
| "y": 11 | |
| }, | |
| "id": 9, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "hideEmpty": false, | |
| "hideZero": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum(rate(container_network_transmit_bytes_total{name=~\".+\"}[$interval])) by (name)", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{name}}", | |
| "refId": "A", | |
| "step": 2 | |
| }, | |
| { | |
| "expr": "rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])", | |
| "hide": true, | |
| "intervalFactor": 2, | |
| "legendFormat": "", | |
| "refId": "B", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Sent Network Traffic per Container", | |
| "tooltip": { | |
| "msResolution": true, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "Bps", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": "", | |
| "logBase": 10, | |
| "max": 8, | |
| "min": 0, | |
| "show": false | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "Prometheus", | |
| "editable": true, | |
| "error": false, | |
| "fill": 3, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 8, | |
| "x": 16, | |
| "y": 11 | |
| }, | |
| "id": 10, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum(container_memory_rss{name=~\".+\"}) by (name)", | |
| "hide": false, | |
| "intervalFactor": 2, | |
| "legendFormat": "{{name}}", | |
| "refId": "A", | |
| "step": 2 | |
| }, | |
| { | |
| "expr": "container_memory_usage_bytes{name=~\".+\"}", | |
| "hide": true, | |
| "intervalFactor": 2, | |
| "legendFormat": "{{name}}", | |
| "refId": "B", | |
| "step": 240 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Memory Usage per Container (Stacked)", | |
| "tooltip": { | |
| "msResolution": true, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "bytes", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": { | |
| "SENT": "#BF1B00" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "Prometheus", | |
| "editable": true, | |
| "error": false, | |
| "fill": 5, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 4, | |
| "x": 0, | |
| "y": 15 | |
| }, | |
| "id": 19, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": false, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 1, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum(rate(container_network_receive_bytes_total{id=\"/\"}[$interval])) by (id)", | |
| "intervalFactor": 2, | |
| "legendFormat": "RECEIVED", | |
| "refId": "A", | |
| "step": 4 | |
| }, | |
| { | |
| "expr": "- sum(rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])) by (id)", | |
| "hide": false, | |
| "intervalFactor": 2, | |
| "legendFormat": "SENT", | |
| "refId": "B", | |
| "step": 4 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Network Traffic on Node", | |
| "tooltip": { | |
| "msResolution": true, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": false, | |
| "values": [] | |
| }, | |
| "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 | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "Prometheus", | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 12, | |
| "x": 4, | |
| "y": 17 | |
| }, | |
| "id": 8, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum(rate(container_network_receive_bytes_total{name=~\".+\"}[$interval])) by (name)", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{name}}", | |
| "refId": "A", | |
| "step": 2 | |
| }, | |
| { | |
| "expr": "- rate(container_network_transmit_bytes_total{name=~\".+\"}[$interval])", | |
| "hide": true, | |
| "intervalFactor": 2, | |
| "legendFormat": "{{name}}", | |
| "refId": "B", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Received Network Traffic per Container", | |
| "tooltip": { | |
| "msResolution": true, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "Bps", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "Prometheus", | |
| "editable": true, | |
| "error": false, | |
| "fill": 3, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 8, | |
| "x": 16, | |
| "y": 17 | |
| }, | |
| "id": 11, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "container_memory_rss{name=~\".+\"}", | |
| "hide": true, | |
| "intervalFactor": 2, | |
| "legendFormat": "{{name}}", | |
| "refId": "A", | |
| "step": 20 | |
| }, | |
| { | |
| "expr": "container_memory_usage_bytes{name=~\".+\"}", | |
| "hide": true, | |
| "intervalFactor": 2, | |
| "legendFormat": "{{name}}", | |
| "refId": "B", | |
| "step": 20 | |
| }, | |
| { | |
| "expr": "sum(container_memory_cache{name=~\".+\"}) by (name)", | |
| "hide": false, | |
| "intervalFactor": 2, | |
| "legendFormat": "{{name}}", | |
| "refId": "C", | |
| "step": 2 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Cached Memory per Container (Stacked)", | |
| "tooltip": { | |
| "msResolution": true, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "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 | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": { | |
| "{id=\"/\",instance=\"cadvisor:8080\",job=\"prometheus\"}": "#BA43A9" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "Prometheus", | |
| "editable": true, | |
| "error": false, | |
| "fill": 3, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 4, | |
| "x": 0, | |
| "y": 19 | |
| }, | |
| "id": 5, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": false, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum(rate(container_cpu_system_seconds_total[1m]))", | |
| "hide": true, | |
| "intervalFactor": 2, | |
| "legendFormat": "a", | |
| "refId": "B", | |
| "step": 120 | |
| }, | |
| { | |
| "expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m]))", | |
| "hide": true, | |
| "interval": "", | |
| "intervalFactor": 2, | |
| "legendFormat": "nur container", | |
| "refId": "F", | |
| "step": 10 | |
| }, | |
| { | |
| "expr": "sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m]))", | |
| "hide": true, | |
| "interval": "", | |
| "intervalFactor": 2, | |
| "legendFormat": "nur docker host", | |
| "metric": "", | |
| "refId": "A", | |
| "step": 20 | |
| }, | |
| { | |
| "expr": "sum(rate(process_cpu_seconds_total[$interval])) * 100", | |
| "hide": false, | |
| "interval": "", | |
| "intervalFactor": 2, | |
| "legendFormat": "host", | |
| "metric": "", | |
| "refId": "C", | |
| "step": 4 | |
| }, | |
| { | |
| "expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m])) + sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m])) + sum(rate(process_cpu_seconds_total[1m]))", | |
| "hide": true, | |
| "intervalFactor": 2, | |
| "legendFormat": "", | |
| "refId": "D", | |
| "step": 120 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU Usage on Node", | |
| "tooltip": { | |
| "msResolution": true, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": false, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "label": "", | |
| "logBase": 1, | |
| "max": 120, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": false | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "columns": [ | |
| { | |
| "text": "Avg", | |
| "value": "avg" | |
| } | |
| ], | |
| "datasource": "Prometheus", | |
| "editable": true, | |
| "error": false, | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 5, | |
| "w": 8, | |
| "x": 0, | |
| "y": 23 | |
| }, | |
| "hideTimeOverride": false, | |
| "id": 18, | |
| "isNew": true, | |
| "links": [], | |
| "pageSize": 100, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 0, | |
| "desc": true | |
| }, | |
| "styles": [ | |
| { | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "Time", | |
| "type": "date" | |
| }, | |
| { | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "expr": "cadvisor_version_info", | |
| "intervalFactor": 2, | |
| "legendFormat": "cAdvisor Version: {{cadvisorVersion}}", | |
| "refId": "A", | |
| "step": 2 | |
| }, | |
| { | |
| "expr": "prometheus_build_info", | |
| "intervalFactor": 2, | |
| "legendFormat": "Prometheus Version: {{version}}", | |
| "refId": "B", | |
| "step": 2 | |
| }, | |
| { | |
| "expr": "node_exporter_build_info", | |
| "intervalFactor": 2, | |
| "legendFormat": "Node-Exporter Version: {{version}}", | |
| "refId": "C", | |
| "step": 2 | |
| }, | |
| { | |
| "expr": "cadvisor_version_info", | |
| "intervalFactor": 2, | |
| "legendFormat": "Docker Version: {{dockerVersion}}", | |
| "refId": "D", | |
| "step": 2 | |
| }, | |
| { | |
| "expr": "cadvisor_version_info", | |
| "intervalFactor": 2, | |
| "legendFormat": "Host OS Version: {{osVersion}}", | |
| "refId": "E", | |
| "step": 2 | |
| }, | |
| { | |
| "expr": "cadvisor_version_info", | |
| "intervalFactor": 2, | |
| "legendFormat": "Host Kernel Version: {{kernelVersion}}", | |
| "refId": "F", | |
| "step": 2 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "", | |
| "transform": "timeseries_aggregations", | |
| "type": "table" | |
| } | |
| ], | |
| "refresh": false, | |
| "schemaVersion": 16, | |
| "style": "dark", | |
| "tags": [], | |
| "templating": { | |
| "list": [ | |
| { | |
| "allValue": ".+", | |
| "current": { | |
| "text": "All", | |
| "value": "$__all" | |
| }, | |
| "datasource": "Prometheus", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "Container Group", | |
| "multi": true, | |
| "name": "containergroup", | |
| "options": [], | |
| "query": "label_values(container_group)", | |
| "refresh": 1, | |
| "regex": "", | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "auto": true, | |
| "auto_count": 50, | |
| "auto_min": "50s", | |
| "current": { | |
| "text": "auto", | |
| "value": "$__auto_interval_interval" | |
| }, | |
| "datasource": null, | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "Interval", | |
| "multi": false, | |
| "name": "interval", | |
| "options": [ | |
| { | |
| "selected": true, | |
| "text": "auto", | |
| "value": "$__auto_interval_interval" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30s", | |
| "value": "30s" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1m", | |
| "value": "1m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "2m", | |
| "value": "2m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "3m", | |
| "value": "3m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "5m", | |
| "value": "5m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "7m", | |
| "value": "7m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "10m", | |
| "value": "10m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30m", | |
| "value": "30m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1h", | |
| "value": "1h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "6h", | |
| "value": "6h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "12h", | |
| "value": "12h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1d", | |
| "value": "1d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "7d", | |
| "value": "7d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "14d", | |
| "value": "14d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30d", | |
| "value": "30d" | |
| } | |
| ], | |
| "query": "30s,1m,2m,3m,5m,7m,10m,30m,1h,6h,12h,1d,7d,14d,30d", | |
| "refresh": 2, | |
| "type": "interval" | |
| } | |
| ] | |
| }, | |
| "time": { | |
| "from": "now-30m", | |
| "to": "now" | |
| }, | |
| "timepicker": { | |
| "refresh_intervals": [ | |
| "5s", | |
| "10s", | |
| "30s", | |
| "1m", | |
| "5m", | |
| "15m", | |
| "30m", | |
| "1h", | |
| "2h", | |
| "1d" | |
| ], | |
| "time_options": [ | |
| "5m", | |
| "15m", | |
| "1h", | |
| "6h", | |
| "12h", | |
| "24h", | |
| "2d", | |
| "7d", | |
| "30d" | |
| ] | |
| }, | |
| "timezone": "browser", | |
| "title": "Docker Host & Container Overview", | |
| "uid": "dYiQm31mk", | |
| "version": 9 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment