From 6ec1ca188db6d32d5cbb83bd6312feff4bf71222 Mon Sep 17 00:00:00 2001 From: "s. rannou" Date: Fri, 21 Jun 2024 15:06:17 +0200 Subject: [PATCH] feat: add overview dashboard --- README.md | 8 +- grafana/dashboard-overview.json | 2222 +++++++++++++++++++++++++++++++ 2 files changed, 2228 insertions(+), 2 deletions(-) create mode 100644 grafana/dashboard-overview.json diff --git a/README.md b/README.md index d20dbc1..0402727 100644 --- a/README.md +++ b/README.md @@ -13,15 +13,19 @@ The code is provided as-is with no warranties. ## Overview Dashboard -The [overview dashboard](grafana/dashboard-breakdown.json) shows an +The [overview dashboard](grafana/dashboard-overview.json) shows an overview of the entire set of watched keys and how they relate to the rest of the network (asset under management, state of keys, -performances). +performances): ![overview-dashboard](docs/img/watcher-overview.png) ## Breakdown Dashboard +The [breakdown dashboard](grafana/dashboard-breakdown.json) offers a +way to compare how each set of keys in user-defined category +perform: + ![breakdown-dashboard](docs/img/watcher-breakdown.png) # Description diff --git a/grafana/dashboard-overview.json b/grafana/dashboard-overview.json new file mode 100644 index 0000000..f81d457 --- /dev/null +++ b/grafana/dashboard-overview.json @@ -0,0 +1,2222 @@ +{ + "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" + } + ] + }, + "description": "", + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 1, + "id": 5, + "links": [ + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [], + "targetBlank": false, + "title": "Powered by Kiln", + "tooltip": "", + "type": "link", + "url": "https://kiln.fi/" + } + ], + "liveNow": true, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 76, + "panels": [], + "title": "🖧 Network 🖧", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "gridPos": { + "h": 5, + "w": 4, + "x": 0, + "y": 1 + }, + "id": 71, + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "\n- [open an issue](https://github.com/kilnfi/eth-validator-watcher/issues/new)\n- [github repository](https://github.com/kilnfi/eth-validator-watcher)\n- [beaconcha.in](https://beaconcha.in/)\n- [bageth.xyz](https://www.bageth.xyz/)\n- [etherscan.io](https://etherscan.io/)", + "mode": "markdown" + }, + "pluginVersion": "11.0.0", + "title": "Quick Links", + "type": "text" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "Ethereum epoch", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "light-blue", + "value": null + } + ] + }, + "unit": "locale" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 4, + "y": 1 + }, + "id": 2, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_epoch{network=\"${network}\"})", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Epoch", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "Ethereum slot", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "light-purple", + "value": null + } + ] + }, + "unit": "locale" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 8, + "y": 1 + }, + "id": 3, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_slot{network=\"${network}\"})", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Slot", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "light-yellow", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 12, + "y": 1 + }, + "id": 43, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_slot{network=\"${network}\"}) % 32", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Epoch completion", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "Estimation of the entry queue time. Add ~12 hours for actual entry time.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-purple", + "value": null + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 16, + "y": 1 + }, + "id": 35, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "(max(eth_validator_status_count{scope=\"scope:network\", status=\"pending_queued\", network=\"${network}\"} or vector(0)) / 8) * (12*32)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Entry Queue Time", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "light-green", + "value": null + } + ] + }, + "unit": "currencyUSD" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 20, + "y": 1 + }, + "id": 39, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_current_price_dollars{network=\"${network}\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "ETH price", + "type": "stat" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 6 + }, + "id": 70, + "panels": [], + "title": "🧱 Performances 🧱", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 7 + }, + "id": 6, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": true, + "text": {}, + "textMode": "value_and_name", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "exemplar": false, + "expr": "max(eth_validator_status_count{status=~\"active_ongoing|active_exiting\", scope=\"scope:all-network\", network=\"${network}\"} or vector(0))", + "hide": false, + "instant": false, + "legendFormat": "network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_validator_status_count{status=~\"active_ongoing|active_exiting\", scope=\"scope:watched\", network=\"${network}\"} or vector(0))", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "B" + } + ], + "title": "Active Validators", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "green", + "value": 80 + } + ] + }, + "unit": "currencyUSD" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 4, + "y": 7 + }, + "id": 21, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "center", + "orientation": "vertical", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_validator_status_count{status=~\"active_ongoing|active_exiting\", scope=\"scope:all-network\", network=\"${network}\"} or vector(0)) * max(eth_current_price_dollars{network=\"${network}\"}) * 32", + "hide": false, + "legendFormat": "network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_validator_status_count{status=~\"active_ongoing|active_exiting\", scope=\"scope:watched\", network=\"${network}\"} or vector(0)) * max(eth_current_price_dollars{network=\"${network}\"}) * 32", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "B" + } + ], + "title": "Assets under management", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "orange", + "value": 0.99 + }, + { + "color": "yellow", + "value": 0.993 + }, + { + "color": "green", + "value": 0.995 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 12, + "w": 4, + "x": 8, + "y": 7 + }, + "id": 77, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": false, + "sizing": "auto" + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(avg_over_time(eth_consensus_rewards_rate{scope=\"scope:all-network\", network=\"${network}\"}[$__interval]))", + "hide": false, + "instant": false, + "legendFormat": "network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(avg_over_time(eth_consensus_rewards_rate{scope=\"scope:watched\", network=\"${network}\"}[$__interval]))", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "B" + } + ], + "title": "Healthiness", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "Block proposals expected from the watched keys within the next 2 epochs. This signal can be used to know when to upgrade/perform operations on your Ethereum validation stack.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "semi-dark-red", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 7 + }, + "id": 79, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(increase(eth_missed_block_proposals_finalized_total{scope=\"scope:all-network\", network=\"${network}\"}[$__range]))", + "hide": false, + "legendFormat": "network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(increase(eth_missed_block_proposals_finalized_total{scope=\"scope:watched\", network=\"${network}\"}[$__range]))", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "B" + } + ], + "title": "Block Missed", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "fieldMinMax": false, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "orange", + "value": 85 + }, + { + "color": "yellow", + "value": 90 + }, + { + "color": "green", + "value": 95 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 8, + "x": 16, + "y": 7 + }, + "id": 68, + "options": { + "displayMode": "basic", + "maxVizHeight": 184, + "minVizHeight": 19, + "minVizWidth": 0, + "namePlacement": "top", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "exemplar": false, + "expr": "100.0 - sum(avg_over_time(eth_suboptimal_heads_rate{scope=\"scope:network\", network=\"${network}\"}[$__interval]))", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "network", + "range": false, + "refId": "IDEAL" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "100.0 - sum(avg_over_time(eth_suboptimal_heads_rate{scope=\"scope:watched\", network=\"${network}\"}[$__interval]))", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "A" + } + ], + "title": "Head Votes", + "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "yellow", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 11 + }, + "id": 96, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": true, + "text": {}, + "textMode": "value_and_name", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "exemplar": false, + "expr": "max(eth_validator_status_count{status=~\"pending_queued\", scope=\"scope:all-network\", network=\"${network}\"} or vector(0)) ", + "hide": false, + "instant": false, + "legendFormat": "network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_validator_status_count{status=~\"pending_queued\", scope=\"scope:watched\", network=\"${network}\"} or vector(0))", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "B" + } + ], + "title": "Queued Validators", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "Block proposals expected from the watched keys within the next 2 epochs. This signal can be used to know when to upgrade/perform operations on your Ethereum validation stack.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 11 + }, + "id": 5, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_future_block_proposals{scope=\"scope:all-network\", network=\"${network}\"})", + "hide": false, + "legendFormat": "network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_future_block_proposals{scope=\"scope:watched\", network=\"${network}\"})", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "B" + } + ], + "title": "Future Proposals", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "fieldMinMax": false, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "orange", + "value": 85 + }, + { + "color": "yellow", + "value": 90 + }, + { + "color": "green", + "value": 95 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 8, + "x": 16, + "y": 11 + }, + "id": 97, + "options": { + "displayMode": "basic", + "maxVizHeight": 184, + "minVizHeight": 19, + "minVizWidth": 0, + "namePlacement": "top", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "exemplar": false, + "expr": "100.0 - sum(avg_over_time(eth_suboptimal_sources_rate{scope=\"scope:network\", network=\"${network}\"}[$__interval]))", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "network", + "range": false, + "refId": "IDEAL" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "100.0 - sum(avg_over_time(eth_suboptimal_sources_rate{scope=\"scope:watched\", network=\"${network}\"}[$__interval]))", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "A" + } + ], + "title": "Source Votes", + "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + }, + { + "color": "purple", + "value": 80 + } + ] + }, + "unit": "%" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 4, + "y": 13 + }, + "id": 4, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": true, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "((max(eth_validator_status_count{status=~\"active_ongoing|active_exiting\", scope=\"scope:all-network\", network=\"${network}\"}) or vector(0)) / (max(eth_validator_status_count{status=~\"active_ongoing|active_exiting\", scope=\"scope:all-network\", network=\"${network}\"}) or vector(0))) * 100.0", + "hide": false, + "legendFormat": "network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "((max(eth_validator_status_count{status=~\"active_ongoing|active_exiting\", scope=\"scope:watched\", network=\"${network}\"}) or vector(0)) / (max(eth_validator_status_count{status=~\"active_ongoing|active_exiting\", scope=\"scope:all-network\", network=\"${network}\"}) or vector(0))) * 100.0", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "B" + } + ], + "title": "Share of the network", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 15 + }, + "id": 95, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": true, + "text": {}, + "textMode": "value_and_name", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "exemplar": false, + "expr": "max(eth_slashed_validators{scope=\"scope:all-network\", network=\"${network}\"} or vector(0))", + "hide": false, + "instant": false, + "legendFormat": "network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_slashed_validators{scope=\"scope:watched\", network=\"${network}\"} or vector(0))", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "B" + } + ], + "title": "Slashed Validators", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 15 + }, + "id": 99, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(increase(eth_block_proposals_finalized_total{scope=\"scope:all-network\", network=\"${network}\"}[$__range]))", + "hide": false, + "legendFormat": "network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(increase(eth_block_proposals_finalized_total{scope=\"scope:watched\", network=\"${network}\"}[$__range]))", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "B" + } + ], + "title": "Block Proposed", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "fieldMinMax": false, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "orange", + "value": 85 + }, + { + "color": "yellow", + "value": 90 + }, + { + "color": "green", + "value": 95 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 8, + "x": 16, + "y": 15 + }, + "id": 98, + "options": { + "displayMode": "basic", + "maxVizHeight": 184, + "minVizHeight": 19, + "minVizWidth": 0, + "namePlacement": "top", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" + }, + "pluginVersion": "11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "exemplar": false, + "expr": "100.0 - sum(avg_over_time(eth_suboptimal_targets_rate{scope=\"scope:network\", network=\"${network}\"}[$__interval]))", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "network", + "range": false, + "refId": "IDEAL" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "100.0 - sum(avg_over_time(eth_suboptimal_targets_rate{scope=\"scope:watched\", network=\"${network}\"}[$__interval]))", + "hide": false, + "instant": false, + "legendFormat": "watched", + "range": true, + "refId": "A" + } + ], + "title": "Target Votes", + "type": "bargauge" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 19 + }, + "id": 8, + "panels": [], + "title": "🔎 Watched keys compared to the rest of the network 🔎", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisGridShow": true, + "axisLabel": "", + "axisPlacement": "right", + "axisSoftMin": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 8, + "x": 0, + "y": 20 + }, + "id": 83, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_suboptimal_sources_rate{scope=\"scope:network\", network=\"${network}\"})", + "instant": false, + "legendFormat": "scope:network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_suboptimal_sources_rate{scope=\"scope:watched\", network=\"${network}\"})", + "hide": false, + "instant": false, + "legendFormat": "scope:watched", + "range": true, + "refId": "B" + } + ], + "title": "Untimely or bad source vote (%)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisGridShow": true, + "axisLabel": "", + "axisPlacement": "right", + "axisSoftMin": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 8, + "x": 8, + "y": 20 + }, + "id": 84, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_suboptimal_targets_rate{scope=\"scope:network\", network=\"${network}\"})", + "instant": false, + "legendFormat": "scope:network", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_suboptimal_targets_rate{scope=\"scope:watched\", network=\"${network}\"})", + "hide": false, + "instant": false, + "legendFormat": "scope:watched", + "range": true, + "refId": "B" + } + ], + "title": "Untimely or bad target vote (%)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisGridShow": true, + "axisLabel": "", + "axisPlacement": "right", + "axisSoftMin": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 8, + "x": 16, + "y": 20 + }, + "id": 85, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_suboptimal_heads_rate{scope=\"scope:network\", network=\"${network}\"})", + "instant": false, + "legendFormat": "scope:unwatched", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_suboptimal_heads_rate{scope=\"scope:watched\", network=\"${network}\"})", + "hide": false, + "instant": false, + "legendFormat": "scope:watched", + "range": true, + "refId": "B" + } + ], + "title": "Untimely or bad head vote (%)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisGridShow": true, + "axisLabel": "", + "axisPlacement": "right", + "axisSoftMin": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 0, + "y": 31 + }, + "id": 86, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_missed_attestations{scope=\"scope:network\", network=\"${network}\"})", + "instant": false, + "legendFormat": "scope:unwatched", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_missed_attestations{scope=\"scope:watched\", network=\"${network}\"})", + "hide": false, + "instant": false, + "legendFormat": "scope:watched", + "range": true, + "refId": "B" + } + ], + "title": "Missed attestations (count)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisGridShow": true, + "axisLabel": "", + "axisPlacement": "right", + "axisSoftMin": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 8, + "y": 31 + }, + "id": 87, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_missed_consecutive_attestations{scope=\"scope:network\", network=\"${network}\"})", + "instant": false, + "legendFormat": "scope:unwatched", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(eth_missed_consecutive_attestations{scope=\"scope:watched\", network=\"${network}\"})", + "hide": false, + "instant": false, + "legendFormat": "scope:watched", + "range": true, + "refId": "B" + } + ], + "title": "Consecutive missed attestations (count)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisGridShow": true, + "axisLabel": "", + "axisPlacement": "right", + "axisSoftMin": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 16, + "y": 31 + }, + "id": 88, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "expr": "max(increase(eth_missed_block_proposals_finalized_total{scope=\"scope:network\", network=\"${network}\"}[24h]))", + "instant": false, + "legendFormat": "scope:unwatched", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "editorMode": "code", + "exemplar": false, + "expr": "max(increase(eth_missed_block_proposals_finalized_total{scope=\"scope:watched\", network=\"${network}\"}[24h]))", + "hide": false, + "instant": false, + "legendFormat": "scope:watched", + "range": true, + "refId": "B" + } + ], + "title": "Missed blocks last 24H (count)", + "type": "timeseries" + } + ], + "refresh": "12s", + "schemaVersion": 39, + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "None", + "value": "None" + }, + "datasource": { + "type": "prometheus", + "uid": "f0d83469-f640-41b2-97e4-85ce49434724" + }, + "definition": "label_values(eth_future_block_proposals,network)", + "hide": 0, + "includeAll": false, + "multi": false, + "name": "network", + "options": [], + "query": { + "qryType": 1, + "query": "label_values(eth_future_block_proposals,network)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timeRangeUpdatedDuringEditOrView": false, + "timepicker": { + "refresh_intervals": [ + "12s", + "384s", + "30m", + "1h", + "2h", + "1d", + "7d" + ] + }, + "timezone": "utc", + "title": "Ethereum Kiln Overview", + "uid": "acc6771c-f2fb-4735-b747-6eb197064745", + "version": 2, + "weekStart": "monday" +} \ No newline at end of file