Update dashboard_by_oijkn.json (#48)

This commit is contained in:
Dedy Martadinata S 2022-07-08 07:10:31 +07:00 committed by GitHub
parent 065c246320
commit e7c5b98bde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2783 additions and 69 deletions

View file

@ -1,9 +1,61 @@
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.0-69790pre"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
@ -21,14 +73,18 @@
"description": "Dashboard with details of the container and host OS metrics for Raspberry Pi by Oijkn.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 10566,
"gnetId": 15120,
"graphTooltip": 1,
"id": 2,
"iteration": 1643196554939,
"id": null,
"iteration": 1657090007421,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Time during which Pi is in operation",
"fieldConfig": {
"defaults": {
@ -81,12 +137,12 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "time() - node_boot_time_seconds",
@ -103,6 +159,10 @@
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Total containers running",
"fieldConfig": {
"defaults": {
@ -158,12 +218,12 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "count(container_last_seen{instance=~\"$node\",image=~\"(.)+\"})",
@ -180,6 +240,10 @@
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Busy state of all CPU cores together",
"fieldConfig": {
"defaults": {
@ -241,12 +305,12 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(process_cpu_seconds_total[$interval])) * 100",
@ -262,6 +326,10 @@
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Non available RAM memory",
"fieldConfig": {
"defaults": {
@ -315,12 +383,12 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "((container_memory_MemTotal_bytes - container_memory_MemFree_bytes) / (container_memory_MemTotal_bytes )) * 100",
@ -335,7 +403,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)",
@ -352,6 +420,10 @@
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Used Swap",
"fieldConfig": {
"defaults": {
@ -413,12 +485,12 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "(node_memory_SwapTotal_bytes - node_memory_SwapFree_bytes) / node_memory_SwapTotal_bytes * 100",
@ -435,7 +507,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"description": "Busy state of all CPU cores together (5 min average)",
"fieldConfig": {
@ -498,9 +570,13 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "avg(node_load5) / count(count(node_cpu_seconds_total) by (cpu)) * 100",
"format": "time_series",
@ -516,6 +592,10 @@
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Total used disk space",
"fieldConfig": {
"defaults": {
@ -579,12 +659,12 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "min((node_filesystem_size_bytes{fstype=~\"ext4\"} - node_filesystem_free_bytes{fstype=~\"ext4\"})/ node_filesystem_size_bytes{fstype=~\"ext4\"})",
@ -603,7 +683,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"description": "Hardware temperature",
"fieldConfig": {
@ -668,9 +748,13 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "node_thermal_zone_temp{type=\"cpu-thermal\"}",
"format": "time_series",
@ -686,6 +770,10 @@
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -777,7 +865,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(container_cpu_system_seconds_total[$interval]))",
@ -792,7 +880,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m]))",
"format": "time_series",
@ -806,7 +894,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m]))",
"format": "time_series",
@ -821,7 +909,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(process_cpu_seconds_total[$interval])) * 100",
"format": "time_series",
@ -836,7 +924,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"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]))",
"format": "time_series",
@ -849,7 +937,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "100 - (avg by (instance) (rate(node_cpu_seconds_total{mode=\"idle\",job=\"$job\"}[$interval])) * 100)",
@ -865,6 +953,10 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -960,7 +1052,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "node_thermal_zone_temp{type=\"cpu-thermal\"}",
@ -977,6 +1069,10 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -1052,7 +1148,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(container_network_receive_bytes_total{instance=~\"$node\",name=~\".+\"}[$interval])) by (name)",
@ -1067,7 +1163,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "- rate(container_network_transmit_bytes_total{instance=~\"$node\",name=~\".+\"}[$interval])",
@ -1084,6 +1180,10 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -1159,7 +1259,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(container_network_transmit_bytes_total{instance=~\"$node\",name=~\".+\"}[$interval])) by (name)",
@ -1173,7 +1273,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "rate(container_network_transmit_bytes_total{instance=~\"$node\",id=\"/\"}[$interval])",
@ -1190,6 +1290,10 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
@ -1267,7 +1371,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum without (dc,from,id,csv) (irate(container_fs_writes_bytes_total{image!=\"\",device!~\"/dev/dm.*\"}[$interval]))",
@ -1281,6 +1385,10 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
@ -1358,7 +1466,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum without (dc,from,id,csv) (irate(container_fs_reads_bytes_total{image!=\"\",device!~\"/dev/dm.*\"}[$interval]))",
@ -1374,7 +1482,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"description": "Disk space used",
"fieldConfig": {
@ -1448,6 +1556,10 @@
"pluginVersion": "8.1.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "node_filesystem_size_bytes{fstype=\"ext4\",mountpoint=\"/etc/resolv.conf\"} - node_filesystem_free_bytes{fstype=\"ext4\",mountpoint=\"/etc/resolv.conf\"}",
"format": "time_series",
@ -1459,6 +1571,10 @@
"step": 600
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "100 - ((node_filesystem_avail_bytes{fstype=\"ext4\",mountpoint=\"/etc/resolv.conf\"} * 100) / node_filesystem_size_bytes{fstype=\"ext4\",mountpoint=\"/etc/resolv.conf\"})",
"hide": false,
@ -1474,7 +1590,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -1576,6 +1692,10 @@
"pluginVersion": "8.1.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes",
"interval": "",
@ -1588,6 +1708,10 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The number (after merges) of I/O requests completed per second for the device",
"fieldConfig": {
"defaults": {
@ -1986,7 +2110,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(node_disk_read_bytes_total[1m])",
@ -2000,7 +2124,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "- irate(node_disk_written_bytes_total[1m])",
@ -2013,7 +2137,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(node_disk_io_time_seconds_total[1m])",
@ -2027,6 +2151,10 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -2114,7 +2242,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(container_network_receive_bytes_total{instance=~\"$node\",id=\"/\"}[$interval])) by (id)",
@ -2129,7 +2257,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "- sum(rate(container_network_transmit_bytes_total{instance=~\"$node\",id=\"/\"}[$interval])) by (id)",
@ -2148,7 +2276,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -2223,6 +2351,10 @@
"pluginVersion": "8.1.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(container_cpu_usage_seconds_total{name=~\".+\"}[$__range])) by (name) * 100",
"format": "time_series",
@ -2241,7 +2373,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -2316,6 +2448,10 @@
"pluginVersion": "8.1.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(container_memory_rss{name!=\"\"}) by (name)",
"format": "time_series",
"hide": false,
@ -2326,6 +2462,10 @@
"step": 240
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "container_memory_usage_bytes{name=~\".+\"}",
"format": "time_series",
"hide": true,
@ -2341,7 +2481,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -2417,6 +2557,10 @@
"pluginVersion": "8.1.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "container_memory_usage_bytes{name!=\"\"}",
"format": "time_series",
"hide": false,
@ -2427,6 +2571,10 @@
"target": ""
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "container_spec_memory_limit_bytes{name!=\"\"}",
"format": "time_series",
"hide": true,
@ -2440,6 +2588,10 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -2447,7 +2599,8 @@
},
"custom": {
"align": "auto",
"displayMode": "auto"
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
@ -2592,12 +2745,12 @@
},
"showHeader": true
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "max(container_memory_usage_bytes{name!=\"\"}) by (name)",
@ -2612,7 +2765,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "max(container_memory_max_usage_bytes{name!=\"\"}-container_memory_usage_bytes{name!=\"\"})by (name)",
@ -2626,7 +2779,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "max(container_memory_max_usage_bytes{name!=\"\"}) by (name)",
@ -2660,6 +2813,10 @@
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -2668,7 +2825,8 @@
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": false
"filterable": false,
"inspect": false
},
"decimals": 0,
"mappings": [],
@ -2704,12 +2862,12 @@
},
"showHeader": true
},
"pluginVersion": "8.4.0-48917pre",
"pluginVersion": "9.1.0-69790pre",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "cadvisor_version_info{instance=~\"$node\"}",
@ -2724,7 +2882,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "prometheus_build_info{}",
@ -2737,7 +2895,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "node_exporter_build_info{instance=~\"$node\"}",
@ -2750,7 +2908,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "cadvisor_version_info{instance=~\"$node\"}",
@ -2764,7 +2922,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "cadvisor_version_info{instance=~\"$node\"}",
@ -2777,7 +2935,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "t4f0shgRk"
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "cadvisor_version_info{instance=~\"$node\"}",
@ -2817,7 +2975,7 @@
}
],
"refresh": "5m",
"schemaVersion": 35,
"schemaVersion": 36,
"style": "dark",
"tags": [
"prometheus",
@ -2927,10 +3085,10 @@
"type": "interval"
},
{
"current": {
"selected": false,
"text": "prometheus",
"value": "prometheus"
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(container_cpu_user_seconds_total, job)",
"hide": 0,
@ -2950,10 +3108,10 @@
"type": "query"
},
{
"current": {
"selected": false,
"text": "cadvisor:8080",
"value": "cadvisor:8080"
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(container_cpu_user_seconds_total{job=~\"$job\"}, instance)",
"hide": 0,
@ -3004,8 +3162,8 @@
]
},
"timezone": "browser",
"title": "Docker and OS Metrics for Raspberry Pi",
"uid": "Ss3q6hSZk",
"version": 42,
"title": "Docker and OS Metrics for Raspberry Pi 15120",
"uid": "Ss3q6hSZkw",
"version": 1,
"weekStart": ""
}

File diff suppressed because it is too large Load diff