nwaku/metrics/waku-network-monitor-discov...

789 lines
20 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 3,
"links": [],
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "networkmonitor_peer_count{connected=\"false\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Unconnected",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "networkmonitor_peer_count{connected=\"true\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Connected",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Discovered Peers",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"description": "Ratio of peers supporting each protocol",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 3,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_protocol{protocols=\"/vac/waku/filter-subscribe/2.0.0-beta1\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Filter",
"range": false,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_protocol{protocols=\"/vac/waku/lightpush/2.0.0-beta1\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Light Push",
"range": false,
"refId": "B",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_protocol{protocols=\"/vac/waku/peer-exchange/2.0.0-alpha1\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Peer Exchange",
"range": false,
"refId": "C",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_protocol{protocols=\"/vac/waku/relay/2.0.0\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Relay",
"range": false,
"refId": "D",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_protocol{protocols=\"/vac/waku/store-query/3.0.0\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Store v3",
"range": false,
"refId": "E",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_protocol{protocols=\"/vac/waku/store/2.0.0-beta4\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Store v2",
"range": false,
"refId": "F",
"useBackend": false
}
],
"title": "Network Protocol Support",
"transparent": true,
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 1,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "discovery_session_lru_cache_hits_total",
"format": "time_series",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Hits",
"range": false,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "discovery_session_lru_cache_misses_total",
"format": "time_series",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Miss",
"range": false,
"refId": "B",
"useBackend": false
}
],
"title": "Discovery Session LRU Cache",
"transparent": true,
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "routing_table_nodes{state!=\"seen\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Total",
"range": true,
"refId": "B",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "routing_table_nodes{state=\"seen\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Has connected",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Routing Table",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 5,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_cluster_as_per_enr{cluster=\"1\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Cluster 1",
"range": false,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_cluster_as_per_enr{cluster=\"16\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Cluster 16 (Status)",
"range": false,
"refId": "B",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_cluster_as_per_enr{cluster=\"0\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Cluster 0",
"range": false,
"refId": "C",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_cluster_as_per_enr{cluster!~\"0|16|1\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Others",
"range": false,
"refId": "D",
"useBackend": false
}
],
"title": "Clusters as per ENR",
"transparent": true,
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"description": "Check all the ENRs in the network.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 6,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_enr{capability=\"Filter\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Filter",
"range": false,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_enr{capability=\"Lightpush\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Light Push",
"range": false,
"refId": "B",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_enr{capability=\"Relay\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Relay",
"range": false,
"refId": "C",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "bdspz2dtm1clce"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "networkmonitor_peer_type_as_per_enr{capability=\"Store\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Store",
"range": false,
"refId": "D",
"useBackend": false
}
],
"title": "Capabilities as per ENR",
"transparent": true,
"type": "piechart"
}
],
"refresh": "30s",
"schemaVersion": 39,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Network Monitor Discovery",
"uid": "adsq0j7yxz2f4e",
"version": 9,
"weekStart": ""
}