5 "description": "A simple overview of the most important Docker host and container metrics. (cAdvisor/Prometheus)",
20 "colorBackground": false,
23 "rgba(245, 54, 54, 0.9)",
24 "rgba(237, 129, 40, 0.89)",
25 "rgba(50, 172, 45, 0.97)"
27 "datasource": "automated-ds",
36 "thresholdLabels": false,
37 "thresholdMarkers": true
46 "name": "value to text",
50 "name": "range to text",
55 "nullPointMode": "connected",
58 "postfixFontSize": "30%",
60 "prefixFontSize": "20%",
70 "fillColor": "rgba(31, 118, 189, 0.18)",
72 "lineColor": "rgb(31, 120, 193)",
78 "expr": "time() - node_boot_time{instance=~\"$server:.*\"}",
89 "valueFontSize": "80%",
97 "valueName": "current"
100 "cacheTimeout": null,
101 "colorBackground": false,
104 "rgba(245, 54, 54, 0.9)",
105 "rgba(237, 129, 40, 0.89)",
106 "rgba(50, 172, 45, 0.97)"
108 "datasource": "automated-ds",
116 "thresholdLabels": false,
117 "thresholdMarkers": true
125 "name": "value to text",
129 "name": "range to text",
133 "maxDataPoints": 100,
134 "nullPointMode": "connected",
137 "postfixFontSize": "50%",
139 "prefixFontSize": "50%",
149 "fillColor": "rgba(31, 118, 189, 0.18)",
151 "lineColor": "rgb(31, 120, 193)",
157 "expr": "count(rate(container_last_seen{name=~\".+\"}[$interval]))",
164 "title": "Containers",
165 "type": "singlestat",
166 "valueFontSize": "120%",
174 "valueName": "current"
177 "cacheTimeout": null,
178 "colorBackground": false,
181 "rgba(50, 172, 45, 0.97)",
182 "rgba(237, 129, 40, 0.89)",
183 "rgba(245, 54, 54, 0.9)"
185 "datasource": "automated-ds",
189 "format": "percentunit",
194 "thresholdLabels": false,
195 "thresholdMarkers": true
203 "name": "value to text",
207 "name": "range to text",
211 "maxDataPoints": 100,
212 "nullPointMode": "connected",
215 "postfixFontSize": "50%",
217 "prefixFontSize": "50%",
227 "fillColor": "rgba(31, 118, 189, 0.18)",
229 "lineColor": "rgb(31, 120, 193)",
235 "expr": "min((node_filesystem_size{fstype=~\"xfs|ext4\",instance=~\"$server:.*\"} - node_filesystem_free{fstype=~\"xfs|ext4\",instance=~\"$server:.*\"} )/ node_filesystem_size{fstype=~\"xfs|ext4\",instance=~\"$server:.*\"})",
242 "thresholds": "0.75, 0.90",
243 "title": "Disk space",
244 "type": "singlestat",
245 "valueFontSize": "80%",
253 "valueName": "current"
256 "cacheTimeout": null,
257 "colorBackground": false,
260 "rgba(50, 172, 45, 0.97)",
261 "rgba(237, 129, 40, 0.89)",
262 "rgba(245, 54, 54, 0.9)"
264 "datasource": "automated-ds",
273 "thresholdLabels": false,
274 "thresholdMarkers": true
282 "name": "value to text",
286 "name": "range to text",
290 "maxDataPoints": 100,
291 "nullPointMode": "connected",
294 "postfixFontSize": "50%",
296 "prefixFontSize": "50%",
306 "fillColor": "rgba(31, 118, 189, 0.18)",
308 "lineColor": "rgb(31, 120, 193)",
314 "expr": "((node_memory_MemTotal{instance=~\"$server:.*\"} - node_memory_MemAvailable{instance=~\"$server:.*\"}) / node_memory_MemTotal{instance=~\"$server:.*\"}) * 100",
320 "thresholds": "70, 90",
322 "type": "singlestat",
323 "valueFontSize": "80%",
331 "valueName": "current"
334 "content": "<img src=\"http://prometheus.io/assets/prometheus_logo_grey.svg\" alt=\"Prometheus logo\" style=\"height: 40px;\">\n<span style=\"font-family: 'Open Sans', 'Helvetica Neue', Helvetica; font-size: 25px;vertical-align: text-top;color: #bbbfc2;margin-left: 10px;\">Prometheus</span>\n\n<p style=\"margin-top: 10px;\">You're using Prometheus, an open-source systems monitoring and alerting toolkit originally built at SoundCloud. For more information, check out the <a href=\"http://www.grafana.org/\">Grafana</a> and <a href=\"http://prometheus.io/\">Prometheus</a> projects.</p>",
348 "repeatIteration": null,
351 "title": "Dashboard Row",
365 "datasource": "automated-ds",
383 "nullPointMode": "null as zero",
388 "seriesOverrides": [],
392 "steppedLine": false,
395 "expr": "sum(rate(container_network_receive_bytes_total{id=\"/\"}[$interval])) by (id)",
397 "legendFormat": "RECEIVED",
402 "expr": "- sum(rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])) by (id)",
405 "legendFormat": "SENT",
413 "title": "Network Traffic",
415 "msResolution": true,
418 "value_type": "cumulative"
420 "transparent": false,
450 "{id=\"/\",instance=\"cadvisor:8080\",job=\"prometheus\"}": "#BA43A9"
455 "datasource": "automated-ds",
473 "nullPointMode": "null as zero",
478 "seriesOverrides": [],
482 "steppedLine": false,
485 "expr": "sum(rate(container_cpu_system_seconds_total[1m]))",
493 "expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m]))",
497 "legendFormat": "nur container",
502 "expr": "sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m]))",
506 "legendFormat": "nur docker host",
512 "expr": "sum(rate(process_cpu_seconds_total[$interval])) * 100",
516 "legendFormat": "host",
522 "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]))",
533 "title": "CPU Usage",
535 "msResolution": true,
538 "value_type": "cumulative"
591 "executionErrorState": "alerting",
594 "name": "Panel Title alert",
595 "noDataState": "keep_state",
606 "datasource": "automated-ds",
624 "nullPointMode": "connected",
629 "seriesOverrides": [],
633 "steppedLine": false,
636 "expr": "node_load1{instance=~\"$server:.*\"} / count by(job, instance)(count by(job, instance, cpu)(node_cpu{instance=~\"$server:.*\"}))",
644 "colorMode": "critical",
655 "msResolution": false,
658 "value_type": "individual"
670 "format": "percentunit",
711 "executionErrorState": "alerting",
714 "name": "Free/Used Disk Space alert",
715 "noDataState": "keep_state",
723 "Belegete Festplatte": "#BF1B00",
724 "Free Disk Space": "#7EB26D",
725 "Used Disk Space": "#7EB26D",
731 "datasource": "automated-ds",
749 "nullPointMode": "null as zero",
756 "alias": "Used Disk Space",
763 "steppedLine": false,
766 "expr": "node_filesystem_size{fstype=\"aufs\"} - node_filesystem_free{fstype=\"aufs\"}",
769 "legendFormat": "Used Disk Space",
776 "colorMode": "critical",
780 "value": 850000000000
785 "title": "Used Disk Space",
787 "msResolution": true,
790 "value_type": "individual"
805 "max": 1000000000000,
820 "content": "#### Samples Ingested\nThis graph displays the count of samples ingested by the Prometheus server, as measured over the last 5 minutes, per time series in the range vector. When troubleshooting an issue on IRC or Github, this is often the first stat requested by the Prometheus team. ",
834 "repeatIteration": null,
849 "datasource": "automated-ds",
856 "alignAsTable": true,
869 "nullPointMode": "null as zero",
874 "seriesOverrides": [],
878 "steppedLine": false,
881 "expr": "sum(rate(container_cpu_usage_seconds_total{name=~\".+\"}[$interval])) by (name) * 100",
885 "legendFormat": "{{name}}",
894 "title": "CPU Usage per Container",
896 "msResolution": true,
899 "value_type": "individual"
929 "IN on /sda": "#7EB26D",
930 "OUT on /sda": "#890F02"
935 "datasource": "automated-ds",
953 "nullPointMode": "null as zero",
958 "seriesOverrides": [],
962 "steppedLine": false,
965 "expr": "-sum(rate(node_disk_bytes_read[$interval])) by (device)",
968 "legendFormat": "OUT on /{{device}}",
969 "metric": "node_disk_bytes_read",
974 "expr": "sum(rate(node_disk_bytes_written[$interval])) by (device)",
976 "legendFormat": "IN on /{{device}}",
987 "msResolution": true,
990 "value_type": "cumulative"
1021 "Available Memory": "#7EB26D",
1022 "Unavailable Memory": "#7EB26D"
1027 "datasource": "automated-ds",
1045 "nullPointMode": "null as zero",
1046 "percentage": false,
1050 "seriesOverrides": [],
1054 "steppedLine": false,
1057 "expr": "container_memory_rss{name=~\".+\"}",
1059 "intervalFactor": 2,
1060 "legendFormat": "{{__name__}}",
1065 "expr": "sum(container_memory_rss{name=~\".+\"})",
1067 "intervalFactor": 2,
1068 "legendFormat": "{{__name__}}",
1073 "expr": "container_memory_usage_bytes{name=~\".+\"}",
1075 "intervalFactor": 2,
1076 "legendFormat": "{{name}}",
1081 "expr": "container_memory_rss{id=\"/\"}",
1083 "intervalFactor": 2,
1084 "legendFormat": "{{__name__}}",
1089 "expr": "sum(container_memory_rss)",
1091 "intervalFactor": 2,
1092 "legendFormat": "{{__name__}}",
1097 "expr": "node_memory_Buffers",
1099 "intervalFactor": 2,
1100 "legendFormat": "node_memory_Dirty",
1105 "expr": "node_memory_MemFree",
1107 "intervalFactor": 2,
1108 "legendFormat": "{{__name__}}",
1113 "expr": "node_memory_MemAvailable",
1115 "intervalFactor": 2,
1116 "legendFormat": "Available Memory",
1121 "expr": "node_memory_MemTotal - node_memory_MemAvailable",
1123 "intervalFactor": 2,
1124 "legendFormat": "Unavailable Memory",
1129 "expr": "node_memory_Inactive",
1131 "intervalFactor": 2,
1132 "legendFormat": "{{__name__}}",
1137 "expr": "node_memory_KernelStack",
1139 "intervalFactor": 2,
1140 "legendFormat": "{{__name__}}",
1145 "expr": "node_memory_Active",
1147 "intervalFactor": 2,
1148 "legendFormat": "{{__name__}}",
1153 "expr": "node_memory_MemTotal - (node_memory_Active + node_memory_MemFree + node_memory_Inactive)",
1155 "intervalFactor": 2,
1156 "legendFormat": "Unknown",
1161 "expr": "node_memory_MemFree + node_memory_Inactive ",
1163 "intervalFactor": 2,
1164 "legendFormat": "{{__name__}}",
1169 "expr": "container_memory_rss{name=~\".+\"}",
1171 "intervalFactor": 2,
1172 "legendFormat": "{{__name__}}",
1177 "expr": "node_memory_Inactive + node_memory_MemFree + node_memory_MemAvailable",
1179 "intervalFactor": 2,
1187 "colorMode": "critical",
1191 "value": 10000000000
1196 "title": "Available Memory",
1198 "msResolution": true,
1201 "value_type": "individual"
1232 "repeatIteration": null,
1233 "repeatRowId": null,
1247 "datasource": "automated-ds",
1254 "alignAsTable": true,
1267 "nullPointMode": "null as zero",
1268 "percentage": false,
1272 "seriesOverrides": [],
1276 "steppedLine": false,
1279 "expr": "sum(rate(container_network_receive_bytes_total{name=~\".+\"}[$interval])) by (name)",
1280 "intervalFactor": 2,
1281 "legendFormat": "{{name}}",
1286 "expr": "- rate(container_network_transmit_bytes_total{name=~\".+\"}[$interval])",
1288 "intervalFactor": 2,
1289 "legendFormat": "{{name}}",
1297 "title": "Received Network Traffic per Container",
1299 "msResolution": true,
1302 "value_type": "cumulative"
1304 "transparent": false,
1337 "datasource": "automated-ds",
1344 "alignAsTable": true,
1359 "nullPointMode": "null as zero",
1360 "percentage": false,
1364 "seriesOverrides": [],
1368 "steppedLine": false,
1371 "expr": "sum(rate(container_network_transmit_bytes_total{name=~\".+\"}[$interval])) by (name)",
1372 "intervalFactor": 2,
1373 "legendFormat": "{{name}}",
1378 "expr": "rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])",
1380 "intervalFactor": 2,
1389 "title": "Sent Network Traffic per Container",
1391 "msResolution": true,
1394 "value_type": "cumulative"
1396 "transparent": false,
1426 "repeatIteration": null,
1427 "repeatRowId": null,
1441 "datasource": "automated-ds",
1448 "alignAsTable": true,
1461 "nullPointMode": "null as zero",
1462 "percentage": false,
1466 "seriesOverrides": [],
1470 "steppedLine": false,
1473 "expr": "sum(container_memory_rss{name=~\".+\"}) by (name)",
1475 "intervalFactor": 2,
1476 "legendFormat": "{{name}}",
1481 "expr": "container_memory_usage_bytes{name=~\".+\"}",
1483 "intervalFactor": 2,
1484 "legendFormat": "{{name}}",
1492 "title": "Memory Usage per Container",
1494 "msResolution": true,
1497 "value_type": "individual"
1531 "datasource": "automated-ds",
1538 "alignAsTable": true,
1551 "nullPointMode": "null as zero",
1552 "percentage": false,
1556 "seriesOverrides": [],
1560 "steppedLine": false,
1563 "expr": "sum(container_memory_swap{name=~\".+\"}) by (name)",
1565 "intervalFactor": 2,
1566 "legendFormat": "{{name}}",
1571 "expr": "container_memory_usage_bytes{name=~\".+\"}",
1573 "intervalFactor": 2,
1574 "legendFormat": "{{name}}",
1582 "title": "Memory Swap per Container",
1584 "msResolution": true,
1587 "value_type": "individual"
1618 "repeatIteration": null,
1619 "repeatRowId": null,
1621 "title": "Dashboard Row",
1652 "rgba(245, 54, 54, 0.9)",
1653 "rgba(237, 129, 40, 0.89)",
1654 "rgba(50, 172, 45, 0.97)"
1668 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"} - container_memory_usage_bytes{name=~\".+\"}) by (name) ",
1670 "intervalFactor": 2,
1671 "legendFormat": "{{name}}",
1677 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"}) by (name) ",
1679 "intervalFactor": 2,
1680 "legendFormat": "{{name}}",
1685 "expr": "container_memory_usage_bytes{name=~\".+\"}",
1687 "intervalFactor": 2,
1688 "legendFormat": "{{name}}",
1693 "title": "Usage memory",
1694 "transform": "timeseries_aggregations",
1719 "colorMode": "cell",
1721 "rgba(50, 172, 45, 0.97)",
1722 "rgba(237, 129, 40, 0.89)",
1723 "rgba(245, 54, 54, 0.9)"
1737 "expr": "sum(100 - ((container_spec_memory_limit_bytes{name=~\".+\"} - container_memory_usage_bytes{name=~\".+\"}) * 100 / container_spec_memory_limit_bytes{name=~\".+\"}) ) by (name) ",
1738 "intervalFactor": 2,
1739 "legendFormat": "{{name}}",
1745 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"}) by (name) ",
1747 "intervalFactor": 2,
1748 "legendFormat": "{{name}}",
1753 "expr": "container_memory_usage_bytes{name=~\".+\"}",
1755 "intervalFactor": 2,
1756 "legendFormat": "{{name}}",
1761 "title": "Remaining memory",
1762 "transform": "timeseries_aggregations",
1789 "rgba(245, 54, 54, 0.9)",
1790 "rgba(237, 129, 40, 0.89)",
1791 "rgba(50, 172, 45, 0.97)"
1805 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"} - container_memory_usage_bytes{name=~\".+\"}) by (name) ",
1807 "intervalFactor": 2,
1808 "legendFormat": "{{name}}",
1814 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"}) by (name) ",
1816 "intervalFactor": 2,
1817 "legendFormat": "{{name}}",
1822 "expr": "container_memory_usage_bytes{name=~\".+\"}",
1824 "intervalFactor": 2,
1825 "legendFormat": "{{name}}",
1830 "title": "Limit memory",
1831 "transform": "timeseries_aggregations",
1836 "repeatIteration": null,
1837 "repeatRowId": null,
1839 "title": "Dashboard Row",
1843 "schemaVersion": 14,
1854 "datasource": "automated-ds",
1857 "label": "Container Group",
1859 "name": "containergroup",
1861 "query": "label_values(container_group)",
1865 "tagValuesQuery": null,
1877 "value": "$__auto_interval"
1881 "includeAll": false,
1882 "label": "Interval",
1889 "value": "$__auto_interval"
1967 "query": "30s,1m,2m,3m,5m,7m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
1974 "text": "192.168.121.2",
1975 "value": "192.168.121.2"
1977 "datasource": "automated-ds",
1979 "includeAll": false,
1984 "query": "label_values(node_boot_time, instance)",
1986 "regex": "/([^:]+):.*/",
1988 "tagValuesQuery": null,
2001 "refresh_intervals": [
2025 "timezone": "browser",
2026 "title": "Monitoring docker with Prometheus",