From b5529ebfb61a01bc9a269c9bcdea33d0f941bf89 Mon Sep 17 00:00:00 2001 From: Tomasz Slabon Date: Mon, 4 Sep 2023 15:39:51 +0200 Subject: [PATCH] Updated Grafana dashboard for testnet --- .../keep/keep-network-nodes-public.json | 1452 +++++++++-------- 1 file changed, 767 insertions(+), 685 deletions(-) diff --git a/infrastructure/kube/keep-test/monitoring/grafana/dashboards/keep/keep-network-nodes-public.json b/infrastructure/kube/keep-test/monitoring/grafana/dashboards/keep/keep-network-nodes-public.json index 2b5f6afd8f..8a4d72b57e 100644 --- a/infrastructure/kube/keep-test/monitoring/grafana/dashboards/keep/keep-network-nodes-public.json +++ b/infrastructure/kube/keep-test/monitoring/grafana/dashboards/keep/keep-network-nodes-public.json @@ -1,771 +1,853 @@ { "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] }, "description": "", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, + "id": 5, "links": [], "liveNow": false, "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" + { + "datasource": { + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "orange", - "value": 30 - }, - { - "color": "green", - "value": 80 - } - ] - } + "mappings": [], + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "red", + "value": null }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 11, - "x": 0, - "y": 0 - }, - "id": 8, - "interval": "1m", - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + { + "color": "orange", + "value": 30 }, - "textMode": "auto" - }, - "pluginVersion": "9.1.8", - "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" - }, - "editorMode": "builder", - "expr": "sum by(job) (sum by(chain_address) (up{job=\"keep-discovered-nodes\"}))", - "legendFormat": "__auto", - "range": true, - "refId": "A" + "color": "green", + "value": 80 } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 11, + "x": 0, + "y": 0 + }, + "id": 8, + "interval": "1m", + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Nodes Up", - "type": "stat" + "fields": "", + "values": false + }, + "textMode": "auto" }, - { + "pluginVersion": "9.2.5", + "targets": [ + { "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "super-light-red", - "value": null - }, - { - "color": "super-light-yellow", - "value": 30 - }, - { - "color": "super-light-green", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] + "editorMode": "builder", + "expr": "sum by(job) (sum by(chain_address) (up{job=\"keep-discovered-nodes\"}))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Nodes Up", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "gridPos": { - "h": 16, - "w": 13, - "x": 11, - "y": 0 + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "id": 3, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "super-light-red", + "value": null }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "min by(chain_address) (connected_bootstrap_count{job=\"keep-discovered-nodes\"})", - "format": "time_series", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{chain_address}}", - "range": true, - "refId": "C" + "color": "super-light-yellow", + "value": 30 + }, + { + "color": "super-light-green", + "value": 80 } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 16, + "w": 13, + "x": 11, + "y": 0 + }, + "id": 3, + "interval": "1m", + "options": { + "legend": { + "calcs": [ + "last" ], - "title": "Connected Bootstraps", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last", + "sortDesc": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - { + "targets": [ + { "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "log": 2, - "type": "log" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "orange", - "value": 100 - }, - { - "color": "light-yellow", - "value": 300 - }, - { - "color": "green", - "value": 900 - } - ] - } - }, - "overrides": [] + "editorMode": "builder", + "exemplar": false, + "expr": "min by(chain_address) (connected_bootstrap_count{job=\"keep-discovered-nodes\"})", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{chain_address}}", + "range": true, + "refId": "C" + } + ], + "title": "Connected Bootstraps", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "gridPos": { - "h": 28, - "w": 11, - "x": 0, - "y": 8 + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "log": 2, + "type": "log" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } }, - "id": 4, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "orange", + "value": 100 }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "min by(chain_address) (tbtc_pre_params_count{job=\"keep-discovered-nodes\"})", - "format": "time_series", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{chain_address}}", - "range": true, - "refId": "C" + "color": "light-yellow", + "value": 300 + }, + { + "color": "green", + "value": 900 } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 28, + "w": 11, + "x": 0, + "y": 8 + }, + "id": 4, + "interval": "1m", + "options": { + "legend": { + "calcs": [ + "last" ], - "title": "TBTC PreParams Count", - "type": "timeseries" + "displayMode": "table", + "placement": "bottom", + "showLegend": true, + "sortBy": "Last", + "sortDesc": true + }, + "tooltip": { + "mode": "multi", + "sort": "asc" + } }, - { + "targets": [ + { "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "super-light-yellow", - "value": 50 - }, - { - "color": "super-light-green", - "value": 80 - } - ] - } - }, - "overrides": [] + "editorMode": "builder", + "exemplar": false, + "expr": "min by(chain_address) (tbtc_pre_params_count{job=\"keep-discovered-nodes\"})", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{chain_address}}", + "range": true, + "refId": "C" + } + ], + "title": "TBTC PreParams Count", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "gridPos": { - "h": 20, - "w": 13, - "x": 11, - "y": 16 + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "id": 2, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "red", + "value": null }, - "tooltip": { - "mode": "multi", - "sort": "none" + { + "color": "super-light-yellow", + "value": 50 + }, + { + "color": "super-light-green", + "value": 80 } - }, - "targets": [ + ] + } + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "0x1F91c3e91745aB09cc8e619ceD8Fa79B602e3649" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ { - "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" - }, - "editorMode": "builder", - "expr": "min by(chain_address) (connected_peers_count{job=\"keep-discovered-nodes\"})", - "hide": false, - "interval": "", - "legendFormat": "{{chain_address}}", - "range": true, - "refId": "Discovered Keep Nodes" + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } } + ] + } + ] + }, + "gridPos": { + "h": 20, + "w": 13, + "x": 11, + "y": 16 + }, + "id": 2, + "interval": "1m", + "options": { + "legend": { + "calcs": [ + "last" ], - "title": "Connected Peers", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last", + "sortDesc": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - { + "targets": [ + { "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto", - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 25, - "w": 11, - "x": 0, - "y": 36 + "editorMode": "builder", + "expr": "min by(chain_address) (connected_peers_count{job=\"keep-discovered-nodes\"})", + "hide": false, + "interval": "", + "legendFormat": "{{chain_address}}", + "range": true, + "refId": "Discovered Keep Nodes" + } + ], + "title": "Connected Peers", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 10, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "frameIndex": 1, - "showHeader": true, - "sortBy": [ - { - "desc": false, - "displayName": "chain_address" - } - ] + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false }, - "pluginVersion": "9.1.8", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "up{job=\"keep-discovered-nodes\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "__auto", - "range": false, - "refId": "Nodes" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "client_info{job=\"keep-discovered-nodes\"}", - "format": "table", - "hide": false, - "instant": true, - "legendFormat": "", - "range": false, - "refId": "Client Info" - } - ], - "title": "Client Versions", - "transformations": [ + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "id": "seriesToColumns", - "options": { - "byField": "chain_address" - } + "color": "green", + "value": null }, { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "Time 1": false, - "Time 2": true, - "Value": true, - "Value #A": true, - "Value #B": true, - "Value #Client Info": true, - "Value #Nodes": true, - "__name__": true, - "__name__ 1": true, - "__name__ 2": true, - "app": true, - "controller_revision_hash": true, - "id": true, - "instance": false, - "instance 1": false, - "instance 2": true, - "job": true, - "job 1": true, - "job 2": true, - "kubernetes_namespace": true, - "kubernetes_pod_name": true, - "kubernetes_pod_name_monitoring": true, - "network": true, - "network_id": true, - "network_id 1": true, - "network_id 2": true, - "statefulset_kubernetes_io_pod_name": true, - "type": true - }, - "indexByName": { - "Time 1": 3, - "Time 2": 8, - "Value #Client Info": 13, - "Value #Nodes": 7, - "__name__ 1": 4, - "__name__ 2": 9, - "chain_address": 0, - "instance 1": 1, - "instance 2": 10, - "job 1": 5, - "job 2": 11, - "network_id 1": 6, - "network_id 2": 12, - "version": 2 - }, - "renameByName": { - "chain_address": "Chain Address", - "instance 1": "Instance", - "version": "Client Version" - } - } + "color": "red", + "value": 80 } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 25, + "w": 11, + "x": 0, + "y": 36 + }, + "id": 10, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" ], - "type": "table" + "show": false + }, + "frameIndex": 1, + "showHeader": true, + "sortBy": [ + { + "desc": false, + "displayName": "chain_address" + } + ] }, - { + "pluginVersion": "9.2.5", + "targets": [ + { "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - } - }, - "overrides": [] + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" }, - "gridPos": { - "h": 25, - "w": 13, - "x": 11, - "y": 36 + "editorMode": "builder", + "exemplar": false, + "expr": "up{job=\"keep-discovered-nodes\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, + "refId": "Nodes" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" }, - "id": 6, + "editorMode": "builder", + "exemplar": false, + "expr": "client_info{job=\"keep-discovered-nodes\"}", + "format": "table", + "hide": false, + "instant": true, + "legendFormat": "", + "range": false, + "refId": "Client Info" + } + ], + "title": "Client Versions", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "chain_address" + } + }, + { + "id": "organize", "options": { - "alignValue": "left", - "legend": { - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "excludeByName": { + "Time": true, + "Time 1": false, + "Time 2": true, + "Value": true, + "Value #A": true, + "Value #B": true, + "Value #Client Info": true, + "Value #Nodes": true, + "__name__": true, + "__name__ 1": true, + "__name__ 2": true, + "app": true, + "controller_revision_hash": true, + "id": true, + "instance": false, + "instance 1": false, + "instance 2": true, + "job": true, + "job 1": true, + "job 2": true, + "kubernetes_namespace": true, + "kubernetes_pod_name": true, + "kubernetes_pod_name_monitoring": true, + "network": true, + "network_id": true, + "network_id 1": true, + "network_id 2": true, + "statefulset_kubernetes_io_pod_name": true, + "type": true + }, + "indexByName": { + "Time 1": 3, + "Time 2": 8, + "Value #Client Info": 13, + "Value #Nodes": 7, + "__name__ 1": 4, + "__name__ 2": 9, + "chain_address": 0, + "instance 1": 1, + "instance 2": 10, + "job 1": 5, + "job 2": 11, + "network_id 1": 6, + "network_id 2": 12, + "version": 2 + }, + "renameByName": { + "chain_address": "Chain Address", + "instance 1": "Instance", + "version": "Client Version" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" + }, + "description": "Provides information whether the node is connected to the Bitcoin network", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "super-light-yellow", + "value": 50 }, - "mergeValues": true, - "rowHeight": 0.9, - "showValue": "auto", - "tooltip": { - "mode": "single", - "sort": "none" + { + "color": "super-light-green", + "value": 80 } - }, - "pluginVersion": "9.1.2", - "targets": [ + ] + } + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "0xcAB2a402bAc470686d14956FB310D51BbEF9fA31" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ { - "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" - }, - "editorMode": "builder", - "expr": "min by(chain_address) (up{job=\"keep-discovered-nodes\"})", - "interval": "", - "legendFormat": "{{chain_address}}", - "range": true, - "refId": "A" + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } } + ] + } + ] + }, + "gridPos": { + "h": 20, + "w": 13, + "x": 11, + "y": 36 + }, + "id": 11, + "interval": "1m", + "options": { + "legend": { + "calcs": [ + "last" ], - "title": "Uptime (experimental)", - "type": "state-timeline" + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last", + "sortDesc": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - { + "targets": [ + { "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" }, - "description": "A number of running instances for each operator address.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "fillOpacity": 60, - "lineWidth": 0, - "spanNulls": false - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "super-light-orange", - "value": null - }, - { - "color": "super-light-green", - "value": 1 - }, - { - "color": "super-light-red", - "value": 2 - } - ] - } - }, - "overrides": [] + "editorMode": "builder", + "expr": "min by(chain_address) (btc_connectivity{job=\"keep-discovered-nodes\"})", + "format": "heatmap", + "hide": false, + "interval": "", + "legendFormat": "{{chain_address}}", + "range": true, + "refId": "Discovered Keep Nodes" + } + ], + "title": "BTC Connectivity", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "gridPos": { - "h": 20, - "w": 11, - "x": 0, - "y": 61 + "custom": { + "fillOpacity": 70, + "lineWidth": 0, + "spanNulls": false }, - "id": 12, - "options": { - "alignValue": "center", - "legend": { - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "mergeValues": true, - "rowHeight": 0.9, - "showValue": "auto", - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.1.2", - "targets": [ + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "datasource": { - "type": "prometheus", - "uid": "P09205B1DD12FB1C6" - }, - "editorMode": "builder", - "expr": "count by(chain_address) (up{job=\"keep-discovered-nodes\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" + "color": "green", + "value": null } - ], - "title": "Node Instances", - "type": "state-timeline" - } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 25, + "w": 13, + "x": 11, + "y": 56 + }, + "id": 6, + "options": { + "alignValue": "left", + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mergeValues": true, + "rowHeight": 0.9, + "showValue": "auto", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.1.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "P09205B1DD12FB1C6" + }, + "editorMode": "builder", + "expr": "min by(chain_address) (up{job=\"keep-discovered-nodes\"})", + "interval": "", + "legendFormat": "{{chain_address}}", + "range": true, + "refId": "A" + } + ], + "title": "Uptime (experimental)", + "type": "state-timeline" + } ], "refresh": false, "schemaVersion": 37, "style": "dark", "tags": [ - "tbtc", - "keep", - "public" + "tbtc", + "keep", + "public" ], "templating": { - "list": [] + "list": [] }, "time": { - "from": "now-7d", - "to": "now" + "from": "now-7d", + "to": "now" }, "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ] }, "timezone": "", - "title": "Keep Network Nodes Public", + "title": "Keep Nodes (Public)", "uid": "hhDyYDI4z", - "version": 11, + "version": 18, "weekStart": "" -} + }