4 "name": "DS_PROMETHEUS",
8 "pluginId": "prometheus",
9 "pluginName": "Prometheus"
48 "datasource": "-- Grafana --",
51 "iconColor": "rgba(0, 211, 255, 1)",
52 "name": "Annotations & Alerts",
57 "description": "A simple overview of the most important Docker host and container metrics. (cAdvisor/Prometheus)",
62 "iteration": 1564715574785,
67 "colorBackground": false,
70 "rgba(245, 54, 54, 0.9)",
71 "rgba(237, 129, 40, 0.89)",
72 "rgba(50, 172, 45, 0.97)"
74 "datasource": "${DS_PROMETHEUS}",
83 "thresholdLabels": false,
84 "thresholdMarkers": true
99 "name": "value to text",
103 "name": "range to text",
107 "maxDataPoints": 100,
108 "nullPointMode": "connected",
112 "postfixFontSize": "30%",
114 "prefixFontSize": "20%",
123 "fillColor": "rgba(31, 118, 189, 0.18)",
125 "lineColor": "rgb(31, 120, 193)",
131 "expr": "time() - node_boot_time_seconds{instance=~\"$node:.*\"}",
132 "format": "time_series",
142 "type": "singlestat",
143 "valueFontSize": "80%",
151 "valueName": "current"
154 "cacheTimeout": null,
155 "colorBackground": false,
158 "rgba(245, 54, 54, 0.9)",
159 "rgba(237, 129, 40, 0.89)",
160 "rgba(50, 172, 45, 0.97)"
162 "datasource": "${DS_PROMETHEUS}",
170 "thresholdLabels": false,
171 "thresholdMarkers": true
185 "name": "value to text",
189 "name": "range to text",
193 "maxDataPoints": 100,
194 "nullPointMode": "connected",
198 "postfixFontSize": "50%",
200 "prefixFontSize": "50%",
209 "fillColor": "rgba(31, 118, 189, 0.18)",
211 "lineColor": "rgb(31, 120, 193)",
217 "expr": "count(container_last_seen{instance=~\"$node:$port\",job=~\"$job\",image!=\"\"})",
218 "format": "time_series",
225 "title": "Containers",
226 "type": "singlestat",
227 "valueFontSize": "120%",
235 "valueName": "current"
238 "cacheTimeout": null,
239 "colorBackground": false,
242 "rgba(50, 172, 45, 0.97)",
243 "rgba(237, 129, 40, 0.89)",
244 "rgba(245, 54, 54, 0.9)"
246 "datasource": "${DS_PROMETHEUS}",
250 "format": "decbytes",
252 "maxValue": 500000000,
255 "thresholdLabels": false,
256 "thresholdMarkers": true
270 "name": "value to text",
274 "name": "range to text",
278 "maxDataPoints": 100,
279 "nullPointMode": "connected",
283 "postfixFontSize": "50%",
285 "prefixFontSize": "50%",
294 "fillColor": "rgba(31, 118, 189, 0.18)",
296 "lineColor": "rgb(31, 120, 193)",
302 "expr": "(node_memory_SwapTotal_bytes{instance=~'$node:9100'} - node_memory_SwapFree_bytes{instance=~'$node:9100'})",
303 "format": "time_series",
310 "thresholds": "400000000",
312 "type": "singlestat",
313 "valueFontSize": "80%",
321 "valueName": "current"
324 "cacheTimeout": null,
325 "colorBackground": false,
328 "rgba(245, 54, 54, 0.9)",
329 "rgba(237, 129, 40, 0.89)",
330 "rgba(50, 172, 45, 0.97)"
332 "datasource": "${DS_PROMETHEUS}",
336 "format": "percentunit",
341 "thresholdLabels": false,
342 "thresholdMarkers": true
356 "name": "value to text",
360 "name": "range to text",
364 "maxDataPoints": 100,
365 "nullPointMode": "connected",
369 "postfixFontSize": "50%",
371 "prefixFontSize": "50%",
380 "fillColor": "rgba(50, 189, 31, 0.18)",
382 "lineColor": "rgb(69, 193, 31)",
388 "expr": "node_load1{instance=~\"$node:9100\"} / count by(job, instance)(count by(job, instance, cpu)(node_cpu_seconds_total{instance=~\"$node:9100\"}))",
389 "format": "time_series",
395 "thresholds": "0.8,0.9",
397 "type": "singlestat",
398 "valueFontSize": "80%",
432 "executionErrorState": "alerting",
435 "name": "Available Memory alert",
436 "noDataState": "keep_state",
444 "Available Memory": "#7EB26D",
445 "Unavailable Memory": "#7EB26D"
450 "datasource": "${DS_PROMETHEUS}",
474 "nullPointMode": "null as zero",
480 "seriesOverrides": [],
483 "steppedLine": false,
486 "expr": "container_memory_rss{name=~\".+\"}",
487 "format": "time_series",
490 "legendFormat": "{{__name__}}",
495 "expr": "sum(container_memory_rss{name=~\".+\"})",
496 "format": "time_series",
499 "legendFormat": "{{__name__}}",
504 "expr": "container_memory_usage_bytes{name=~\".+\"}",
505 "format": "time_series",
508 "legendFormat": "{{name}}",
513 "expr": "container_memory_rss{id=\"/\"}",
514 "format": "time_series",
517 "legendFormat": "{{__name__}}",
522 "expr": "sum(container_memory_rss)",
523 "format": "time_series",
526 "legendFormat": "{{__name__}}",
531 "expr": "node_memory_Buffers",
532 "format": "time_series",
535 "legendFormat": "node_memory_Dirty",
540 "expr": "node_memory_MemFree",
541 "format": "time_series",
544 "legendFormat": "{{__name__}}",
549 "expr": "node_memory_MemAvailable",
550 "format": "time_series",
553 "legendFormat": "Available Memory",
558 "expr": "node_memory_MemTotal_bytes{instance=~\"$node:9100\"} - node_memory_MemAvailable_bytes{instance=~\"$node:9100\"}",
559 "format": "time_series",
562 "legendFormat": "Unavailable Memory",
567 "expr": "node_memory_Inactive",
568 "format": "time_series",
571 "legendFormat": "{{__name__}}",
576 "expr": "node_memory_KernelStack",
577 "format": "time_series",
580 "legendFormat": "{{__name__}}",
585 "expr": "node_memory_Active",
586 "format": "time_series",
589 "legendFormat": "{{__name__}}",
594 "expr": "node_memory_MemTotal - (node_memory_Active + node_memory_MemFree + node_memory_Inactive)",
595 "format": "time_series",
598 "legendFormat": "Unknown",
603 "expr": "node_memory_MemFree + node_memory_Inactive ",
604 "format": "time_series",
607 "legendFormat": "{{__name__}}",
612 "expr": "container_memory_rss{name=~\".+\"}",
613 "format": "time_series",
616 "legendFormat": "{{__name__}}",
621 "expr": "node_memory_Inactive + node_memory_MemFree + node_memory_MemAvailable",
622 "format": "time_series",
632 "colorMode": "critical",
636 "value": 10000000000,
643 "title": "Available Memory",
645 "msResolution": true,
648 "value_type": "individual"
705 "executionErrorState": "alerting",
708 "name": "Free/Used Disk Space alert",
709 "noDataState": "keep_state",
717 "Belegete Festplatte": "#BF1B00",
718 "Free Disk Space": "#7EB26D",
719 "Used Disk Space": "#7EB26D",
725 "datasource": "${DS_PROMETHEUS}",
749 "nullPointMode": "null as zero",
757 "alias": "Used Disk Space",
763 "steppedLine": false,
766 "expr": "node_filesystem_size_bytes{fstype=\"rootfs\"} - node_filesystem_free_bytes{fstype=\"rootfs\"}",
767 "format": "time_series",
770 "legendFormat": "Used Disk Space",
777 "colorMode": "critical",
781 "value": 850000000000
787 "title": "Used Disk Space",
789 "msResolution": true,
792 "value_type": "individual"
807 "max": 1000000000000,
832 "datasource": "${DS_PROMETHEUS}",
856 "nullPointMode": "null as zero",
862 "seriesOverrides": [],
865 "steppedLine": false,
868 "expr": "sum(rate(container_network_receive_bytes_total{id=\"/\"}[$interval])) by (id)",
869 "format": "time_series",
871 "legendFormat": "RECEIVED",
876 "expr": "- sum(rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])) by (id)",
877 "format": "time_series",
880 "legendFormat": "SENT",
889 "title": "Network Traffic",
891 "msResolution": true,
894 "value_type": "cumulative"
928 "cacheTimeout": null,
929 "colorBackground": false,
932 "rgba(50, 172, 45, 0.97)",
933 "rgba(237, 129, 40, 0.89)",
934 "rgba(245, 54, 54, 0.9)"
936 "datasource": "${DS_PROMETHEUS}",
945 "thresholdLabels": false,
946 "thresholdMarkers": true
960 "name": "value to text",
964 "name": "range to text",
968 "maxDataPoints": 100,
969 "nullPointMode": "connected",
973 "postfixFontSize": "50%",
975 "prefixFontSize": "50%",
984 "fillColor": "rgba(31, 118, 189, 0.18)",
986 "lineColor": "rgb(31, 120, 193)",
992 "expr": "((node_memory_MemTotal_bytes{instance=~\"$node:9100\"} - node_memory_MemAvailable_bytes{instance=~\"$node:9100\"}) / node_memory_MemTotal_bytes{instance=~\"$node:9100\"}) * 100",
993 "format": "time_series",
999 "thresholds": "70, 90",
1001 "type": "singlestat",
1002 "valueFontSize": "80%",
1010 "valueName": "current"
1014 "{id=\"/\",instance=\"cadvisor:8080\",job=\"prometheus\"}": "#BA43A9"
1019 "datasource": "${DS_PROMETHEUS}",
1043 "nullPointMode": "null as zero",
1045 "percentage": false,
1049 "seriesOverrides": [],
1052 "steppedLine": false,
1055 "expr": "sum(rate(container_cpu_system_seconds_total[1m]))",
1056 "format": "time_series",
1058 "intervalFactor": 2,
1059 "legendFormat": "a",
1064 "expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m]))",
1065 "format": "time_series",
1068 "intervalFactor": 2,
1069 "legendFormat": "nur container",
1074 "expr": "sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m]))",
1075 "format": "time_series",
1078 "intervalFactor": 2,
1079 "legendFormat": "nur docker host",
1085 "expr": "sum(rate(process_cpu_seconds_total[$interval])) * 100",
1086 "format": "time_series",
1089 "intervalFactor": 2,
1090 "legendFormat": "host",
1096 "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]))",
1097 "format": "time_series",
1099 "intervalFactor": 2,
1109 "title": "CPU Usage",
1111 "msResolution": true,
1114 "value_type": "cumulative"
1126 "format": "percent",
1149 "IN on /sda": "#7EB26D",
1150 "OUT on /sda": "#890F02"
1155 "datasource": "${DS_PROMETHEUS}",
1179 "nullPointMode": "null as zero",
1181 "percentage": false,
1185 "seriesOverrides": [],
1188 "steppedLine": false,
1191 "expr": "-sum(rate(node_disk_read_bytes_total[$interval])) by (device)",
1192 "format": "time_series",
1194 "intervalFactor": 2,
1195 "legendFormat": "OUT on /{{device}}",
1196 "metric": "node_disk_bytes_read",
1201 "expr": "sum(rate(node_disk_written_bytes_total[$interval])) by (device)",
1202 "format": "time_series",
1203 "intervalFactor": 2,
1204 "legendFormat": "IN on /{{device}}",
1214 "title": "Disk I/O",
1216 "msResolution": true,
1219 "value_type": "cumulative"
1257 "datasource": "${DS_PROMETHEUS}",
1270 "alignAsTable": true,
1283 "nullPointMode": "null as zero",
1285 "percentage": false,
1289 "seriesOverrides": [],
1292 "steppedLine": false,
1295 "expr": "sum(rate(container_network_receive_bytes_total{instance=~\"$node:$port\",job=~\"$job\",image!=\"\"}[$interval])) by (name)",
1296 "format": "time_series",
1297 "intervalFactor": 2,
1298 "legendFormat": "{{name}}",
1303 "expr": "- rate(container_network_transmit_bytes_total{name=~\".+\"}[$interval])",
1304 "format": "time_series",
1306 "intervalFactor": 2,
1307 "legendFormat": "{{name}}",
1316 "title": "Received Network Traffic per Container",
1318 "msResolution": true,
1321 "value_type": "cumulative"
1359 "datasource": "${DS_PROMETHEUS}",
1372 "alignAsTable": true,
1387 "nullPointMode": "null as zero",
1389 "percentage": false,
1393 "seriesOverrides": [],
1396 "steppedLine": false,
1399 "expr": "sum(rate(container_network_transmit_bytes_total{instance=~\"$node:$port\",job=~\"$job\",image!=\"\"}[$interval])) by (name)",
1400 "format": "time_series",
1401 "intervalFactor": 2,
1402 "legendFormat": "{{name}}",
1407 "expr": "rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])",
1408 "format": "time_series",
1410 "intervalFactor": 2,
1420 "title": "Sent Network Traffic per Container",
1422 "msResolution": true,
1425 "value_type": "cumulative"
1463 "datasource": "${DS_PROMETHEUS}",
1476 "alignAsTable": true,
1489 "nullPointMode": "null as zero",
1491 "percentage": false,
1495 "seriesOverrides": [],
1498 "steppedLine": false,
1501 "expr": "sum(rate(container_cpu_usage_seconds_total{instance=~\"$node:$port\",job=~\"$job\",image!=\"\"}[$interval])) by (name) * 100",
1502 "format": "time_series",
1505 "intervalFactor": 2,
1506 "legendFormat": "{{name}}",
1516 "title": "CPU Usage per Container",
1518 "msResolution": true,
1521 "value_type": "individual"
1533 "format": "percent",
1558 "datasource": "${DS_PROMETHEUS}",
1571 "alignAsTable": true,
1584 "nullPointMode": "null as zero",
1586 "percentage": false,
1590 "seriesOverrides": [],
1593 "steppedLine": false,
1596 "expr": "sum(container_memory_swap{instance=~\"$node:$port\",job=~\"$job\",image!=\"\"}) by (name)",
1597 "format": "time_series",
1599 "intervalFactor": 2,
1600 "legendFormat": "{{name}}",
1605 "expr": "container_memory_usage_bytes{name=~\".+\"}",
1606 "format": "time_series",
1608 "intervalFactor": 2,
1609 "legendFormat": "{{name}}",
1618 "title": "Memory Swap per Container",
1620 "msResolution": true,
1623 "value_type": "individual"
1661 "datasource": "${DS_PROMETHEUS}",
1674 "alignAsTable": true,
1687 "nullPointMode": "null as zero",
1689 "percentage": false,
1693 "seriesOverrides": [],
1696 "steppedLine": false,
1699 "expr": "sum(container_memory_rss{instance=~\"$node:$port\",job=~\"$job\",image!=\"\"}) by (name)",
1700 "format": "time_series",
1702 "intervalFactor": 2,
1703 "legendFormat": "{{name}}",
1708 "expr": "container_memory_usage_bytes{name=~\".+\"}",
1709 "format": "time_series",
1711 "intervalFactor": 2,
1712 "legendFormat": "{{name}}",
1721 "title": "Memory Usage per Container",
1723 "msResolution": true,
1726 "value_type": "individual"
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) ",
1808 "intervalFactor": 2,
1809 "legendFormat": "{{name}}",
1815 "expr": "sum(container_spec_memory_limit_bytes{instance=~\"$node:$port\",job=~\"$job\",image!=\"\"}) by (name) ",
1818 "intervalFactor": 2,
1819 "legendFormat": "{{name}}",
1824 "expr": "container_memory_usage_bytes{name=~\".+\"}",
1827 "intervalFactor": 2,
1828 "legendFormat": "{{name}}",
1833 "title": "Limit memory",
1834 "transform": "table",
1839 "schemaVersion": 18,
1851 "includeAll": false,
1852 "label": "datasource",
1854 "name": "DS_PROMETHEUS",
1856 "query": "prometheus",
1859 "skipUrlSync": false,
1860 "type": "datasource"
1865 "datasource": "${DS_PROMETHEUS}",
1866 "definition": "label_values(container_cpu_user_seconds_total, job)",
1868 "includeAll": false,
1873 "query": "label_values(container_cpu_user_seconds_total, job)",
1876 "skipUrlSync": false,
1878 "tagValuesQuery": "",
1887 "datasource": "${DS_PROMETHEUS}",
1888 "definition": "label_values(container_cpu_user_seconds_total{job=~\"$job\"}, instance)",
1890 "includeAll": false,
1895 "query": "label_values(container_cpu_user_seconds_total{job=~\"$job\"}, instance)",
1897 "regex": "/([^:]+):.*/",
1898 "skipUrlSync": false,
1900 "tagValuesQuery": null,
1909 "datasource": "${DS_PROMETHEUS}",
1910 "definition": "label_values(container_cpu_user_seconds_total{instance=~\"$node:(.*)\"}, instance)",
1912 "includeAll": false,
1917 "query": "label_values(container_cpu_user_seconds_total{instance=~\"$node:(.*)\"}, instance)",
1919 "regex": "/[^:]+:(.*)/",
1920 "skipUrlSync": false,
1922 "tagValuesQuery": "",
1937 "label": "Interval",
1943 "value": "$__auto_interval_interval"
2001 "query": "1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
2003 "skipUrlSync": false,
2013 "refresh_intervals": [
2037 "timezone": "browser",
2038 "title": "Docker cAdvisor",