6 "datasource": "-- Grafana --",
9 "iconColor": "rgba(0, 211, 255, 1)",
10 "name": "Annotations & Alerts",
15 "description": "Physical nodes dashboard",
20 "iteration": 1615160452938,
39 "colorBackground": false,
40 "colorPostfix": false,
44 "rgba(245, 54, 54, 0.9)",
45 "rgba(237, 129, 40, 0.89)",
46 "rgba(50, 172, 45, 0.97)"
48 "datasource": "prometheus - Juju generated source",
62 "thresholdLabels": false,
63 "thresholdMarkers": true
71 "hideTimeOverride": true,
78 "name": "value to text",
82 "name": "range to text",
87 "nullPointMode": "null",
89 "pluginVersion": "6.4.2",
91 "postfixFontSize": "50%",
93 "prefixFontSize": "50%",
102 "fillColor": "rgba(31, 118, 189, 0.18)",
104 "lineColor": "rgb(31, 120, 193)",
110 "expr": "max(system_uptime)",
111 "format": "time_series",
122 "title": "System Uptime",
123 "type": "singlestat",
124 "valueFontSize": "70%",
132 "valueName": "current"
135 "cacheTimeout": null,
136 "colorBackground": false,
137 "colorPostfix": false,
140 "rgba(245, 54, 54, 0.9)",
141 "rgba(237, 129, 40, 0.89)",
142 "rgba(50, 172, 45, 0.97)"
144 "datasource": "prometheus - Juju generated source",
157 "thresholdLabels": false,
158 "thresholdMarkers": true
172 "name": "value to text",
176 "name": "range to text",
180 "maxDataPoints": 100,
182 "nullPointMode": "null",
185 "postfixFontSize": "50%",
187 "prefixFontSize": "50%",
196 "fillColor": "rgba(31, 118, 189, 0.18)",
198 "lineColor": "rgb(31, 120, 193)",
204 "expr": "sum(system_n_cpus)",
205 "format": "time_series",
215 "title": "CPU Cores",
216 "type": "singlestat",
217 "valueFontSize": "70%",
225 "valueName": "current"
228 "cacheTimeout": null,
229 "colorBackground": false,
232 "rgba(245, 54, 54, 0.9)",
233 "rgba(237, 129, 40, 0.89)",
234 "rgba(50, 172, 45, 0.97)"
236 "datasource": "prometheus - Juju generated source",
250 "thresholdLabels": false,
251 "thresholdMarkers": true
265 "name": "value to text",
269 "name": "range to text",
273 "maxDataPoints": 100,
275 "nullPointMode": "null",
278 "postfixFontSize": "70%",
280 "prefixFontSize": "50%",
289 "fillColor": "rgba(31, 118, 189, 0.18)",
291 "lineColor": "rgb(31, 120, 193)",
297 "expr": "sum(mem_total)",
298 "format": "time_series",
308 "title": "Total RAM",
309 "type": "singlestat",
310 "valueFontSize": "70%",
318 "valueName": "current"
321 "datasource": "prometheus - Juju generated source",
371 "displayMode": "lcd",
372 "orientation": "horizontal",
380 "showUnfilled": true,
383 "pluginVersion": "7.4.3",
386 "expr": "avg(irate(cpu_usage_system[$__rate_interval]) + irate(cpu_usage_user[$__rate_interval])) * 100",
390 "legendFormat": "CPU Busy",
394 "expr": "avg(irate(cpu_usage_iowait[$__rate_interval])) * 100",
398 "legendFormat": "Busy Iowait",
402 "expr": "avg(mem_used_percent)",
405 "legendFormat": "Used RAM Memory",
409 "expr": "avg(disk_used_percent{fstype=\"ext4\"})",
413 "legendFormat": "Used Max Mount($maxmount)",
417 "expr": "avg(swap_used_percent)",
420 "legendFormat": "Used SWAP",
449 "datasource": "prometheus - Juju generated source",
469 "hiddenSeries": false,
472 "alignAsTable": true,
486 "nullPointMode": "null as zero",
488 "alertThreshold": true
491 "pluginVersion": "7.4.3",
496 "seriesOverrides": [],
499 "steppedLine": false,
502 "expr": "system_load1",
503 "format": "time_series",
507 "legendFormat": "{{juju_unit}}_1m",
514 "expr": "system_load5",
515 "format": "time_series",
519 "legendFormat": "{{juju_unit}}_5m",
524 "expr": "system_load15",
525 "format": "time_series",
529 "legendFormat": "{{juju_unit}}_15m",
538 "title": "System Load",
540 "msResolution": false,
543 "value_type": "cumulative"
576 "192.168.200.241:9100_Total": "dark-red",
577 "Idle - Waiting for something to happen": "#052B51",
583 "softirq": "#E24D42",
591 "datasource": "prometheus - Juju generated source",
609 "hiddenSeries": false,
612 "alignAsTable": true,
631 "nullPointMode": "null",
633 "alertThreshold": true
636 "pluginVersion": "7.4.3",
643 "alias": "/.*_Total/",
650 "steppedLine": false,
653 "expr": "avg(irate(cpu_usage_system[30m])) by (juju_unit)",
654 "format": "time_series",
659 "legendFormat": "{{juju_unit}}_System",
664 "expr": "avg(irate(cpu_usage_user[30m])) by (juju_unit)",
665 "format": "time_series",
668 "legendFormat": "{{juju_unit}}_User",
673 "expr": "avg(irate(cpu_usage_iowait[30m])) by (juju_unit)",
674 "format": "time_series",
678 "legendFormat": "{{juju_unit}}_Iowait",
683 "expr": "1 - avg(irate(cpu_usage_idle[30m])) by (juju_unit)",
684 "format": "time_series",
687 "legendFormat": "{{juju_unit}}_Total",
700 "value_type": "individual"
713 "format": "percentunit",
750 "datasource": "prometheus - Juju generated source",
764 "mode": "percentage",
782 "options": "juju_unit"
794 "options": "device (lastNotNull)"
806 "options": "fstype (lastNotNull)"
811 "value": "Filesystem"
818 "options": "path (lastNotNull)"
823 "value": "Mounted on"
830 "options": "Value #A (lastNotNull)"
846 "options": "Value #B (lastNotNull)"
858 "id": "custom.displayMode",
859 "value": "color-background"
866 "options": "Value #C (lastNotNull)"
886 "id": "custom.width",
894 "options": "Filesystem"
898 "id": "custom.width",
910 "id": "custom.width",
918 "options": "Mounted on"
922 "id": "custom.width",
934 "id": "custom.width",
946 "id": "custom.width",
958 "id": "custom.width",
977 "pluginVersion": "7.4.3",
980 "expr": "disk_free{fstype=\"ext4\"}",
990 "expr": "disk_used_percent{fstype=\"ext4\"}",
1000 "expr": "disk_total{fstype=\"ext4\"}",
1004 "intervalFactor": 1,
1009 "title": "Disk Space Used (EXT4/XFS)",
1010 "transformations": [
1023 "operation": "aggregate"
1029 "operation": "aggregate"
1035 "operation": "aggregate"
1041 "operation": "aggregate"
1047 "operation": "aggregate"
1051 "operation": "groupby"
1057 "operation": "aggregate"
1066 "datasource": "prometheus - Juju generated source",
1067 "description": "Per second read / write bytes ",
1071 "mode": "palette-classic"
1074 "axisLabel": "Bytes read (-) / write (+)",
1075 "axisPlacement": "auto",
1077 "drawStyle": "line",
1079 "gradientMode": "opacity",
1085 "lineInterpolation": "linear",
1088 "scaleDistribution": {
1091 "showPoints": "never",
1125 "displayMode": "table",
1126 "placement": "bottom"
1132 "pluginVersion": "7.4.3",
1135 "expr": "rate(diskio_read_bytes{name!~\"loop.*\"}[$__rate_interval])",
1136 "format": "time_series",
1139 "intervalFactor": 1,
1140 "legendFormat": "{{juju_unit}}_{{name}}_Read bytes",
1145 "expr": "irate(diskio_write_bytes{name!~\"loop.*\"}[$__rate_interval])",
1146 "format": "time_series",
1149 "intervalFactor": 1,
1150 "legendFormat": "{{juju_unit}}_{{name}}_Written bytes",
1157 "title": "Disk R/W Data",
1158 "type": "timeseries"
1162 "Idle - Waiting for something to happen": "#052B51",
1165 "iowait": "#EAB839",
1168 "sdb_每秒I/O操作%": "#d683ce",
1169 "softirq": "#E24D42",
1171 "system": "#508642",
1173 "磁盘花费在I/O操作占比": "#ba43a9"
1178 "datasource": "prometheus - Juju generated source",
1180 "description": "The time spent on I/O in the natural time of each second.(wall-clock time)",
1196 "hiddenSeries": false,
1199 "alignAsTable": true,
1218 "nullPointMode": "null",
1220 "alertThreshold": true
1222 "percentage": false,
1223 "pluginVersion": "7.4.3",
1227 "seriesOverrides": [],
1230 "steppedLine": false,
1233 "expr": "irate(diskio_io_time{name!~\"loop.*\"}[$__rate_interval])",
1234 "format": "time_series",
1236 "intervalFactor": 1,
1237 "legendFormat": "{{juju_unit}}_{{name}}_ IO time",
1245 "title": "Time Spent Doing I/Os",
1249 "value_type": "individual"
1303 "datasource": "prometheus - Juju generated source",
1321 "hiddenSeries": false,
1324 "alignAsTable": true,
1339 "nullPointMode": "null",
1341 "alertThreshold": true
1343 "percentage": false,
1344 "pluginVersion": "7.4.3",
1348 "seriesOverrides": [
1350 "$$hashKey": "object:2450",
1351 "alias": "/.*_Total/",
1358 "steppedLine": false,
1361 "expr": "mem_total",
1362 "format": "time_series",
1366 "intervalFactor": 1,
1367 "legendFormat": "{{juju_unit}}_Total",
1373 "format": "time_series",
1376 "intervalFactor": 1,
1377 "legendFormat": "{{juju_unit}}_Used",
1382 "expr": "mem_available",
1383 "format": "time_series",
1386 "intervalFactor": 1,
1387 "legendFormat": "{{juju_unit}}_Avaliable",
1400 "value_type": "individual"
1412 "$$hashKey": "object:2459",
1421 "$$hashKey": "object:2460",
1455 "datasource": "prometheus - Juju generated source",
1472 "hiddenSeries": false,
1475 "alignAsTable": true,
1492 "nullPointMode": "null",
1494 "alertThreshold": true
1496 "percentage": false,
1497 "pluginVersion": "7.4.3",
1501 "seriesOverrides": [
1503 "$$hashKey": "object:2498",
1504 "alias": "/.*_transmit$/",
1505 "transform": "negative-Y"
1510 "steppedLine": false,
1513 "expr": "irate(net_bytes_recv{interface!~'tap.*|veth.*|br.*|docker.*|virbr*|lo*'}[$__rate_interval])*8",
1514 "format": "time_series",
1516 "intervalFactor": 1,
1517 "legendFormat": "{{juju_unit}}_{{interface}}_receive",
1522 "expr": "irate(net_bytes_sent{interface!~'tap.*|veth.*|br.*|docker.*|virbr*|lo*'}[$__rate_interval])*8",
1523 "format": "time_series",
1525 "intervalFactor": 1,
1526 "legendFormat": "{{instance}}_{{device}}_transmit",
1535 "title": "Network Traffic",
1539 "value_type": "individual"
1551 "$$hashKey": "object:2505",
1553 "label": "transmit(-)/receive(+)",
1560 "$$hashKey": "object:2506",
1581 "datasource": "prometheus - Juju generated source",
1582 "description": "TCP_alloc - Allocated sockets\n\nCurrEstab - TCP connections for which the current state is either ESTABLISHED or CLOSE- WAIT\n\nTCP_tw - Sockets wating close\n\nUDP_inuse - Udp sockets currently in use\n\nSockets_used - Sockets currently in use",
1599 "hiddenSeries": false,
1603 "alignAsTable": true,
1620 "nullPointMode": "null",
1622 "alertThreshold": true
1624 "percentage": false,
1625 "pluginVersion": "7.4.3",
1629 "seriesOverrides": [
1631 "$$hashKey": "object:2576",
1632 "alias": "/.*_Sockets_used/",
1639 "steppedLine": false,
1642 "expr": "netstat_tcp_established",
1643 "format": "time_series",
1647 "intervalFactor": 1,
1648 "legendFormat": "{{juju_unit}}_CurrEstab",
1653 "expr": "sockstat_TCP_tw",
1654 "format": "time_series",
1656 "intervalFactor": 1,
1657 "legendFormat": "{{juju_unit}}_TCP_tw",
1661 "expr": "sockstat_sockets_used",
1663 "legendFormat": "{{juju_unit}}_Sockets_used",
1667 "expr": "sockstat_UDP_inuse",
1669 "legendFormat": "{{juju_unit}}_UDP_inuse",
1673 "expr": "sockstat_TCP_alloc",
1675 "legendFormat": "{{juju_unit}}_TCP_alloc",
1683 "title": "Network Sockstat",
1687 "value_type": "individual"
1699 "$$hashKey": "object:2585",
1708 "$$hashKey": "object:2586",
1728 "schemaVersion": 27,
1741 "datasource": "prometheus - Juju generated source",
1742 "definition": "label_values(node_uname_info, job)",
1743 "description": null,
1746 "includeAll": false,
1752 "query": "label_values(node_uname_info, job)",
1753 "refId": "prometheus - Juju generated source-job-Variable-Query"
1757 "skipUrlSync": false,
1759 "tagValuesQuery": "",
1772 "datasource": "prometheus - Juju generated source",
1773 "definition": "label_values(node_uname_info{job=~\"$job\"}, nodename)",
1774 "description": null,
1783 "query": "label_values(node_uname_info{job=~\"$job\"}, nodename)",
1784 "refId": "prometheus - Juju generated source-hostname-Variable-Query"
1788 "skipUrlSync": false,
1790 "tagValuesQuery": "",
1797 "allFormat": "glob",
1804 "datasource": "prometheus - Juju generated source",
1805 "definition": "label_values(node_uname_info{nodename=~\"$hostname\"},instance)",
1806 "description": null,
1812 "multiFormat": "regex values",
1816 "query": "label_values(node_uname_info{nodename=~\"$hostname\"},instance)",
1817 "refId": "prometheus - Juju generated source-node-Variable-Query"
1821 "skipUrlSync": false,
1823 "tagValuesQuery": "",
1837 "datasource": "prometheus - Juju generated source",
1839 "description": null,
1842 "includeAll": false,
1848 "query": "query_result(topk(1,sort_desc (max(node_filesystem_size_bytes{instance=~'$node',fstype=~\"ext4|xfs\"}) by (mountpoint))))",
1849 "refId": "prometheus - Juju generated source-maxmount-Variable-Query"
1852 "regex": "/.*\\\"(.*)\\\".*/",
1853 "skipUrlSync": false,
1855 "tagValuesQuery": "",
1862 "allFormat": "glob",
1870 "datasource": "prometheus - Juju generated source",
1872 "description": null,
1875 "includeAll": false,
1878 "multiFormat": "regex values",
1882 "query": "label_values(node_exporter_build_info,env)",
1883 "refId": "prometheus - Juju generated source-env-Variable-Query"
1887 "skipUrlSync": false,
1889 "tagValuesQuery": "",
1896 "allFormat": "glob",
1904 "datasource": "prometheus - Juju generated source",
1905 "definition": "label_values(node_exporter_build_info{env=~'$env'},name)",
1906 "description": null,
1909 "includeAll": false,
1912 "multiFormat": "regex values",
1916 "query": "label_values(node_exporter_build_info{env=~'$env'},name)",
1917 "refId": "prometheus - Juju generated source-name-Variable-Query"
1921 "skipUrlSync": false,
1923 "tagValuesQuery": "/.*/",
1937 "refresh_intervals": [
1961 "timezone": "browser",