nwaku/metrics/waku-grafana-dashboard.json

831 lines
17 KiB
JSON
Raw Normal View History

2020-04-28 06:04:27 +00:00
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
2020-06-09 11:44:39 +00:00
"id": 2,
2020-04-28 06:04:27 +00:00
"links": [],
"panels": [
{
"datasource": null,
2020-06-09 11:44:39 +00:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
2020-04-28 06:04:27 +00:00
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 0
},
"id": 16,
"options": {
2020-06-09 11:44:39 +00:00
"orientation": "auto",
"reduceOptions": {
2020-04-28 06:04:27 +00:00
"calcs": [
"last"
],
2020-06-09 11:44:39 +00:00
"fields": "",
2020-04-28 06:04:27 +00:00
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
2020-06-09 11:44:39 +00:00
"pluginVersion": "7.0.3",
2020-04-28 06:04:27 +00:00
"targets": [
{
"expr": "connected_peers{node=\"0\"}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Connected Peers #0",
"type": "gauge"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
2020-06-09 11:44:39 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
2020-04-28 06:04:27 +00:00
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 4,
"x": 6,
"y": 0
},
"id": 22,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false,
"ymax": null,
"ymin": null
},
2020-06-09 11:44:39 +00:00
"tableColumn": "envelopes_valid_total{instance=\"127.0.0.1:8010\", job=\"wakusim\", node=\"0\"}",
2020-04-28 06:04:27 +00:00
"targets": [
{
2020-06-09 11:44:39 +00:00
"expr": "envelopes_valid_total{node=\"0\"}",
"interval": "",
"legendFormat": "",
2020-04-28 06:04:27 +00:00
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Valid Envelopes #0",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
2020-06-09 11:44:39 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
2020-04-28 06:04:27 +00:00
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 4,
"x": 10,
"y": 0
},
"id": 20,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"pluginVersion": "6.4.5",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false,
"ymax": null,
"ymin": null
},
2020-06-09 11:44:39 +00:00
"tableColumn": "Dropped envelopes",
2020-04-28 06:04:27 +00:00
"targets": [
{
2020-06-09 11:44:39 +00:00
"expr": "sum(envelopes_dropped_total{node=\"0\"})",
"interval": "",
"legendFormat": "Dropped envelopes",
2020-04-28 06:04:27 +00:00
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
2020-06-09 11:44:39 +00:00
"title": "Dropped Envelopes #0",
2020-04-28 06:04:27 +00:00
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"datasource": null,
2020-06-09 11:44:39 +00:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [],
"max": 200,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 200
}
]
},
"unit": "percent"
},
"overrides": []
},
2020-04-28 06:04:27 +00:00
"gridPos": {
"h": 4,
"w": 5,
"x": 14,
"y": 0
},
"id": 14,
"options": {
2020-06-09 11:44:39 +00:00
"orientation": "auto",
"reduceOptions": {
2020-04-28 06:04:27 +00:00
"calcs": [
"lastNotNull"
],
2020-06-09 11:44:39 +00:00
"fields": "",
2020-04-28 06:04:27 +00:00
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
2020-06-09 11:44:39 +00:00
"pluginVersion": "7.0.3",
2020-04-28 06:04:27 +00:00
"targets": [
{
"expr": "rate(process_cpu_seconds_total{node=\"0\"}[5s]) * 100",
"legendFormat": "CPU Usage",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "CPU Usage #0",
"type": "gauge"
},
{
"datasource": null,
2020-06-09 11:44:39 +00:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [],
"max": 2147483648,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 2147483648
}
]
},
"unit": "bytes"
},
"overrides": []
},
2020-04-28 06:04:27 +00:00
"gridPos": {
"h": 4,
"w": 5,
"x": 19,
"y": 0
},
"id": 18,
"options": {
2020-06-09 11:44:39 +00:00
"orientation": "auto",
"reduceOptions": {
2020-04-28 06:04:27 +00:00
"calcs": [
"lastNotNull"
],
2020-06-09 11:44:39 +00:00
"fields": "",
2020-04-28 06:04:27 +00:00
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
2020-06-09 11:44:39 +00:00
"pluginVersion": "7.0.3",
2020-04-28 06:04:27 +00:00
"targets": [
{
"expr": "process_resident_memory_bytes{node=\"0\"}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "RSS Memory #0",
"type": "gauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
2020-06-09 11:44:39 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
2020-04-28 06:04:27 +00:00
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 4
},
2020-06-09 11:44:39 +00:00
"hiddenSeries": false,
2020-04-28 06:04:27 +00:00
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "6.4.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
2020-06-09 11:44:39 +00:00
"expr": "envelopes_valid_total{node=\"0\"}",
2020-04-28 06:04:27 +00:00
"hide": false,
"instant": false,
2020-06-09 11:44:39 +00:00
"interval": "",
2020-04-28 06:04:27 +00:00
"legendFormat": "Valid",
"refId": "A"
},
{
2020-06-09 11:44:39 +00:00
"expr": "envelopes_dropped_total{node=\"0\"}",
2020-04-28 06:04:27 +00:00
"hide": false,
"instant": false,
2020-06-09 11:44:39 +00:00
"interval": "",
"legendFormat": "Dropped {{reason}}",
2020-04-28 06:04:27 +00:00
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Waku Envelopes #0",
"tooltip": {
"shared": true,
"sort": 1,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
2020-06-09 11:44:39 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
2020-04-28 06:04:27 +00:00
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 4
},
2020-06-09 11:44:39 +00:00
"hiddenSeries": false,
2020-04-28 06:04:27 +00:00
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "RSS Memory",
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "connected_peers{node=\"0\"}",
"intervalFactor": 1,
"legendFormat": "Connected Peers",
"refId": "A"
},
{
"expr": "process_resident_memory_bytes{node=\"0\"}",
"interval": "",
"intervalFactor": 1,
"legendFormat": "RSS Memory",
"refId": "B"
},
{
"expr": "rate(process_cpu_seconds_total{node=\"0\"}[15s]) * 100",
"legendFormat": "CPU usage %",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Waku Node #0",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
2020-06-09 11:44:39 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
2020-04-28 06:04:27 +00:00
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 13
},
2020-06-09 11:44:39 +00:00
"hiddenSeries": false,
2020-04-28 06:04:27 +00:00
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "process_max_fds{node=\"0\"}",
"legendFormat": "Maximum file descriptors",
"refId": "A"
},
{
"expr": "process_open_fds{node=\"0\"}",
"legendFormat": "Open file descriptors",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "File Descriptors #0",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
2020-06-09 11:44:39 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
2020-04-28 06:04:27 +00:00
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 13
},
2020-06-09 11:44:39 +00:00
"hiddenSeries": false,
2020-04-28 06:04:27 +00:00
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "nim_gc_mem_bytes{node=\"0\"}",
"legendFormat": "Nim GC total memory",
"refId": "A"
},
{
"expr": "nim_gc_mem_occupied_bytes{node=\"0\"}",
"legendFormat": "Nim GC used memory",
"refId": "B"
},
{
"expr": "process_resident_memory_bytes{node=\"0\"}",
"legendFormat": "RSS memory",
"refId": "C"
},
{
"expr": "process_virtual_memory_bytes{node=\"0\"}",
"legendFormat": "Virtual memory",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory Usage #0",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "5s",
2020-06-09 11:44:39 +00:00
"schemaVersion": 25,
2020-04-28 06:04:27 +00:00
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
2020-06-09 11:44:39 +00:00
"title": "Waku Node2",
2020-04-28 06:04:27 +00:00
"uid": "K7Z6IoBZk",
2020-06-09 11:44:39 +00:00
"version": 5
}