{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": 5, "links": [], "panels": [ { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", "options": "SENT" }, "properties": [ { "id": "color", "value": { "fixedColor": "#BF1B00", "mode": "fixed" } } ] }, { "matcher": { "id": "byType", "options": "time" }, "properties": [ { "id": "custom.axisPlacement", "value": "hidden" } ] } ] }, "gridPos": { "h": 6, "w": 4, "x": 0, "y": 0 }, "id": 19, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.0.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "editorMode": "code", "expr": "sum(rate(container_network_receive_bytes_total{id=\"/\"}[5m])) by (id)", "intervalFactor": 2, "legendFormat": "RECEIVED", "range": true, "refId": "A", "step": 600 }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "editorMode": "code", "expr": "- sum(rate(container_network_transmit_bytes_total{id=\"/\"}[5m])) by (id)", "hide": false, "intervalFactor": 2, "legendFormat": "SENT", "range": true, "refId": "B", "step": 600 } ], "title": "Network Traffic", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "percent" }, "overrides": [ { "matcher": { "id": "byName", "options": "{id=\"/\",instance=\"cadvisor:8080\",job=\"prometheus\"}" }, "properties": [ { "id": "color", "value": { "fixedColor": "#BA43A9", "mode": "fixed" } } ] }, { "matcher": { "id": "byType", "options": "time" }, "properties": [ { "id": "custom.axisPlacement", "value": "hidden" } ] } ] }, "gridPos": { "h": 6, "w": 4, "x": 4, "y": 0 }, "id": 5, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.0.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "expr": "sum(rate(container_cpu_system_seconds_total[1m]))", "hide": true, "intervalFactor": 2, "legendFormat": "a", "refId": "B", "step": 120 }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m]))", "hide": true, "interval": "", "intervalFactor": 2, "legendFormat": "nur container", "refId": "F", "step": 10 }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "expr": "sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m]))", "hide": true, "interval": "", "intervalFactor": 2, "legendFormat": "nur docker host", "metric": "", "refId": "A", "step": 20 }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "editorMode": "code", "expr": "sum(rate(process_cpu_seconds_total[1m])) * 100", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "host", "metric": "", "range": true, "refId": "C", "step": 600 }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "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 } ], "title": "CPU Usage", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [ { "matcher": { "id": "byName", "options": "IN on /sda" }, "properties": [ { "id": "color", "value": { "fixedColor": "#7EB26D", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "OUT on /sda" }, "properties": [ { "id": "color", "value": { "fixedColor": "#890F02", "mode": "fixed" } } ] }, { "matcher": { "id": "byType", "options": "time" }, "properties": [ { "id": "custom.axisPlacement", "value": "hidden" } ] } ] }, "gridPos": { "h": 6, "w": 4, "x": 8, "y": 0 }, "id": 3, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.0.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "disableTextWrap": false, "editorMode": "builder", "expr": "sum by(device) (rate(container_fs_reads_bytes_total[1m]))", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "intervalFactor": 2, "legendFormat": "OUT on /{{device}}", "metric": "node_disk_bytes_read", "range": true, "refId": "A", "step": 600, "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "disableTextWrap": false, "editorMode": "code", "expr": "- sum by(device) (rate(container_fs_reads_bytes_total[1m]))", "fullMetaSearch": false, "includeNullMetadata": true, "intervalFactor": 2, "legendFormat": "IN on /{{device}}", "metric": "", "range": true, "refId": "B", "step": 600, "useBackend": false } ], "title": "Disk I/O", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "gridPos": { "h": 6, "w": 12, "x": 12, "y": 0 }, "id": 9, "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.0.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "editorMode": "code", "expr": "sum(rate(container_network_transmit_bytes_total{name=~\".+\"}[5m])) by (name)", "intervalFactor": 2, "legendFormat": "{{name}}", "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "editorMode": "code", "expr": "rate(container_network_transmit_bytes_total{id=\"/\"}[5m])", "hide": true, "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "B", "step": 10 } ], "title": "Sent Network Traffic per Container", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 50, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 6 }, "id": 1, "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.0.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "editorMode": "code", "expr": "sum(rate(container_cpu_usage_seconds_total{name=~\".+\"}[5m])) by (name) * 100", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{name}}", "metric": "", "range": true, "refId": "F", "step": 240 } ], "title": "CPU Usage per Container", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 6 }, "id": 10, "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.0.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "expr": "sum(container_memory_rss{name=~\".+\"}) by (name)", "hide": false, "intervalFactor": 2, "legendFormat": "{{name}}", "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "expr": "container_memory_usage_bytes{name=~\".+\"}", "hide": true, "intervalFactor": 2, "legendFormat": "{{name}}", "refId": "B", "step": 240 } ], "title": "Memory Usage per Container", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 13 }, "id": 8, "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.0.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "editorMode": "code", "expr": "sum(rate(container_network_receive_bytes_total{name=~\".+\"}[5m])) by (name)", "intervalFactor": 2, "legendFormat": "{{name}}", "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "editorMode": "code", "expr": "- rate(container_network_transmit_bytes_total{name=~\".+\"}[5m])", "hide": true, "intervalFactor": 2, "legendFormat": "{{name}}", "range": true, "refId": "B", "step": 10 } ], "title": "Received Network Traffic per Container", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 13 }, "id": 34, "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.0.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "expr": "sum(container_memory_swap{name=~\".+\"}) by (name)", "hide": false, "intervalFactor": 2, "legendFormat": "{{name}}", "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "eeqwrdlwqymf4b" }, "expr": "container_memory_usage_bytes{name=~\".+\"}", "hide": true, "intervalFactor": 2, "legendFormat": "{{name}}", "refId": "B", "step": 240 } ], "title": "Memory Swap per Container", "type": "timeseries" } ], "preload": false, "refresh": "5m", "schemaVersion": 41, "tags": [], "templating": { "list": [ { "allValue": ".+", "current": { "text": [ "All" ], "value": [ "$__all" ] }, "datasource": "eeqwrdlwqymf4b", "includeAll": true, "label": "Container Group", "multi": true, "name": "containergroup", "options": [], "query": "label_values(container_group)", "refresh": 1, "regex": "", "type": "query" }, { "auto": true, "auto_count": 50, "auto_min": "50s", "current": { "text": "30s", "value": "30s" }, "label": "Interval", "name": "interval", "options": [ { "selected": true, "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" }, { "current": { "text": [], "value": [] }, "datasource": "eeqwrdlwqymf4b", "includeAll": false, "label": "Node", "multi": true, "name": "server", "options": [], "query": "label_values(node_boot_time, instance)", "refresh": 1, "regex": "/([^:]+):.*/", "type": "query" } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "Docker", "uid": "147951b8-4ac7-4978-a48f-5d30a4f5fa34", "version": 5 }