From 1b336c2c080715b0873bdb5b36bd526dd0e74baf Mon Sep 17 00:00:00 2001 From: andrussal Date: Mon, 12 Jan 2026 08:19:11 +0100 Subject: [PATCH] monitoring: add dashboards for remaining nomos-node metrics --- .../dashboards/consensus-dashboard.json | 619 ++++++++++++++++++ .../grafana/dashboards/da-dashboard.json | 454 +++++++++++++ .../dashboards/kms-wallet-dashboard.json | 328 ++++++++++ .../grafana/dashboards/sdp-dashboard.json | 347 ++++++++++ 4 files changed, 1748 insertions(+) create mode 100644 testing-framework/assets/stack/monitoring/grafana/dashboards/kms-wallet-dashboard.json create mode 100644 testing-framework/assets/stack/monitoring/grafana/dashboards/sdp-dashboard.json diff --git a/testing-framework/assets/stack/monitoring/grafana/dashboards/consensus-dashboard.json b/testing-framework/assets/stack/monitoring/grafana/dashboards/consensus-dashboard.json index cc9f5e1..5ce397f 100644 --- a/testing-framework/assets/stack/monitoring/grafana/dashboards/consensus-dashboard.json +++ b/testing-framework/assets/stack/monitoring/grafana/dashboards/consensus-dashboard.json @@ -1321,6 +1321,625 @@ ], "title": "\u23f1\ufe0f Block Production Timing \u2014 time since last", "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 72 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(consensus_proposals_received_total[5m])", + "legendFormat": "received - {{origin}} - {{job}}", + "refId": "A" + }, + { + "expr": "rate(consensus_proposals_created_total[5m])", + "legendFormat": "created - {{origin}} - {{job}}", + "refId": "B" + }, + { + "expr": "rate(consensus_proposals_create_failed_total[5m])", + "legendFormat": "create_failed - {{origin}} - {{reason}} - {{job}}", + "refId": "C" + } + ], + "title": "Consensus Proposals \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 72 + }, + "id": 23, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(consensus_proposals_ignored_total[5m])", + "legendFormat": "ignored - {{reason}} - {{origin}} - {{job}}", + "refId": "A" + } + ], + "title": "Proposal Ignored \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 80 + }, + "id": 24, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(consensus_apply_block_failed_total[5m])", + "legendFormat": "{{reason}} - {{job}}", + "refId": "A" + } + ], + "title": "Apply Block Failures \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 80 + }, + "id": 25, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(consensus_block_blob_validation_failed_total[5m])", + "legendFormat": "{{mode}} - {{reason}} - {{job}}", + "refId": "A" + } + ], + "title": "Blob Validation Failures \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 88 + }, + "id": 26, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(consensus_proposal_reconstruct_failed_total[5m])", + "legendFormat": "{{origin}} - {{reason}} - {{job}}", + "refId": "A" + } + ], + "title": "Proposal Reconstruct Failures \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "short" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 88 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "histogram_quantile(0.95, rate(consensus_proposal_missing_txs_bucket[5m]))", + "legendFormat": "p95 missing_txs - {{job}}", + "refId": "A" + } + ], + "title": "Proposal Missing Txs (p95) \u2014 count", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "unit": "short" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 96 + }, + "id": 28, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "values": false, + "calcs": [ + "lastNotNull" + ], + "fields": "" + }, + "textMode": "auto" + }, + "targets": [ + { + "expr": "rate(chainsync_download_blocks_blocks_sum[5m]) / clamp_min(rate(chainsync_download_blocks_blocks_count[5m]), 1)", + "legendFormat": "avg blocks/request - {{job}}", + "refId": "A" + } + ], + "title": "ChainSync Download Size \u2014 avg blocks/request", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "s" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 96 + }, + "id": 29, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "histogram_quantile(0.95, rate(chainsync_download_blocks_seconds_bucket[5m]))", + "legendFormat": "p95 - {{job}}", + "refId": "A" + } + ], + "title": "ChainSync Download Duration (p95) \u2014 seconds", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 104 + }, + "id": 30, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(orphan_blocks_queue_full_total[5m])", + "legendFormat": "orphan_queue_full - {{job}}", + "refId": "A" + }, + { + "expr": "rate(orphan_blocks_parent_fetch_failed_total[5m])", + "legendFormat": "orphan_parent_fetch_failed - {{job}}", + "refId": "B" + } + ], + "title": "Orphan Handling Issues \u2014 events/sec", + "type": "timeseries" } ], "refresh": "5s", diff --git a/testing-framework/assets/stack/monitoring/grafana/dashboards/da-dashboard.json b/testing-framework/assets/stack/monitoring/grafana/dashboards/da-dashboard.json index fb306b9..77d8817 100644 --- a/testing-framework/assets/stack/monitoring/grafana/dashboards/da-dashboard.json +++ b/testing-framework/assets/stack/monitoring/grafana/dashboards/da-dashboard.json @@ -500,6 +500,460 @@ ], "title": "Sampling Success Rate \u2014 events/sec", "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(da_behaviour_events_received_total[5m])", + "legendFormat": "{{event}} - {{job}}", + "refId": "A" + } + ], + "title": "DA Behaviour Events \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "bytes" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "histogram_quantile(0.95, rate(da_behaviour_share_size_bytes_bucket[5m]))", + "legendFormat": "p95 bytes - {{event}} - {{job}}", + "refId": "A" + } + ], + "title": "DA Behaviour Share Size (p95) \u2014 bytes", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "bytes" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "histogram_quantile(0.95, rate(da_dispersal_payload_bytes_bucket[5m]))", + "legendFormat": "p95 bytes - {{job}}", + "refId": "A" + } + ], + "title": "DA Dispersal Payload Size (p95) \u2014 bytes", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 32 + }, + "id": 11, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(da_dispersal_retry_success_total[5m])", + "legendFormat": "retry_success/sec - {{job}}", + "refId": "A" + }, + { + "expr": "rate(da_dispersal_retry_failed_total[5m])", + "legendFormat": "retry_failed/sec - {{job}}", + "refId": "B" + } + ], + "title": "DA Dispersal Retries \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "s" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 40 + }, + "id": 12, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "histogram_quantile(0.95, rate(da_verifier_share_handle_duration_seconds_bucket[5m]))", + "legendFormat": "share p95 - {{job}}", + "refId": "A" + }, + { + "expr": "histogram_quantile(0.95, rate(da_verifier_tx_handle_duration_seconds_bucket[5m]))", + "legendFormat": "tx p95 - {{job}}", + "refId": "B" + }, + { + "expr": "histogram_quantile(0.95, rate(da_verifier_prune_duration_seconds_bucket[5m]))", + "legendFormat": "prune p95 - {{job}}", + "refId": "C" + } + ], + "title": "DA Verifier Latency (p95) \u2014 seconds", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 40 + }, + "id": 13, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(da_verifier_share_requests_total[5m])", + "legendFormat": "share requests/sec - {{job}}", + "refId": "A" + }, + { + "expr": "rate(da_verifier_share_failed_total[5m])", + "legendFormat": "share failures/sec - {{job}}", + "refId": "B" + }, + { + "expr": "rate(da_verifier_tx_requests_total[5m])", + "legendFormat": "tx requests/sec - {{job}}", + "refId": "C" + }, + { + "expr": "rate(da_verifier_tx_failed_total[5m])", + "legendFormat": "tx failures/sec - {{job}}", + "refId": "D" + }, + { + "expr": "rate(da_verifier_prune_runs_total[5m])", + "legendFormat": "prune runs/sec - {{job}}", + "refId": "E" + }, + { + "expr": "rate(da_verifier_prune_failed_total[5m])", + "legendFormat": "prune failures/sec - {{job}}", + "refId": "F" + } + ], + "title": "DA Verifier Activity \u2014 events/sec", + "type": "timeseries" } ], "refresh": "5s", diff --git a/testing-framework/assets/stack/monitoring/grafana/dashboards/kms-wallet-dashboard.json b/testing-framework/assets/stack/monitoring/grafana/dashboards/kms-wallet-dashboard.json new file mode 100644 index 0000000..833c4cf --- /dev/null +++ b/testing-framework/assets/stack/monitoring/grafana/dashboards/kms-wallet-dashboard.json @@ -0,0 +1,328 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [], + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(kms_register_requests_total[5m])", + "legendFormat": "register requests/sec - {{job}}", + "refId": "A" + }, + { + "expr": "rate(kms_register_success_total[5m])", + "legendFormat": "register success/sec - {{job}}", + "refId": "B" + }, + { + "expr": "rate(kms_register_failures_total[5m])", + "legendFormat": "register failures/sec - {{job}}", + "refId": "C" + } + ], + "title": "KMS Register \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 8 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(kms_public_key_requests_total[5m])", + "legendFormat": "public_key requests/sec - {{job}}", + "refId": "A" + }, + { + "expr": "rate(kms_execute_requests_total[5m])", + "legendFormat": "execute requests/sec - {{job}}", + "refId": "B" + }, + { + "expr": "rate(kms_execute_failures_total[5m])", + "legendFormat": "execute failures/sec - {{job}}", + "refId": "C" + } + ], + "title": "KMS Public Key & Execute \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 16 + }, + "id": 3, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(kms_sign_requests_total[5m])", + "legendFormat": "sign requests/sec - {{strategy}} - {{job}}", + "refId": "A" + }, + { + "expr": "rate(kms_sign_success_total[5m])", + "legendFormat": "sign success/sec - {{strategy}} - {{job}}", + "refId": "B" + }, + { + "expr": "rate(kms_sign_failures_total[5m])", + "legendFormat": "sign failures/sec - {{strategy}} - {{job}}", + "refId": "C" + } + ], + "title": "KMS Sign \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 24 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(wallet_requests_total[5m])", + "legendFormat": "wallet requests/sec - {{kind}} - {{job}}", + "refId": "A" + }, + { + "expr": "rate(wallet_response_send_failed_total[5m])", + "legendFormat": "wallet response send failed/sec - {{kind}} - {{job}}", + "refId": "B" + } + ], + "title": "Wallet Requests \u2014 events/sec", + "type": "timeseries" + } + ], + "refresh": "5s", + "schemaVersion": 40, + "tags": [ + "nomos", + "kms", + "wallet" + ], + "templating": { + "list": [] + }, + "time": { + "from": "now-5m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "KMS & Wallet Dashboard", + "uid": "kms-wallet-dashboard", + "version": 1, + "weekStart": "" +} diff --git a/testing-framework/assets/stack/monitoring/grafana/dashboards/sdp-dashboard.json b/testing-framework/assets/stack/monitoring/grafana/dashboards/sdp-dashboard.json new file mode 100644 index 0000000..b3bea92 --- /dev/null +++ b/testing-framework/assets/stack/monitoring/grafana/dashboards/sdp-dashboard.json @@ -0,0 +1,347 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [], + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(sdp_subscriptions_total[5m])", + "legendFormat": "subscriptions/sec - {{job}}", + "refId": "A" + }, + { + "expr": "rate(sdp_subscription_errors_total[5m])", + "legendFormat": "subscription errors/sec - {{job}}", + "refId": "B" + } + ], + "title": "SDP Subscriptions \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 8 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(sdp_activity_posts_total[5m])", + "legendFormat": "activity posts/sec - {{job}}", + "refId": "A" + }, + { + "expr": "rate(sdp_activity_success_total[5m])", + "legendFormat": "activity success/sec - {{job}}", + "refId": "B" + }, + { + "expr": "rate(sdp_activity_tx_failures_total[5m])", + "legendFormat": "activity tx failures/sec - {{job}}", + "refId": "C" + }, + { + "expr": "rate(sdp_activity_mempool_failures_total[5m])", + "legendFormat": "activity mempool failures/sec - {{job}}", + "refId": "D" + } + ], + "title": "SDP Activity \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 16 + }, + "id": 3, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(sdp_declarations_total[5m])", + "legendFormat": "declarations/sec - {{job}}", + "refId": "A" + }, + { + "expr": "rate(sdp_declaration_success_total[5m])", + "legendFormat": "declaration success/sec - {{job}}", + "refId": "B" + }, + { + "expr": "rate(sdp_declaration_tx_failures_total[5m])", + "legendFormat": "declaration tx failures/sec - {{job}}", + "refId": "C" + }, + { + "expr": "rate(sdp_declaration_mempool_failures_total[5m])", + "legendFormat": "declaration mempool failures/sec - {{job}}", + "refId": "D" + } + ], + "title": "SDP Declarations \u2014 events/sec", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false + }, + "mappings": [], + "unit": "ops" + } + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 24 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "expr": "rate(sdp_withdrawals_total[5m])", + "legendFormat": "withdrawals/sec - {{job}}", + "refId": "A" + }, + { + "expr": "rate(sdp_withdrawal_success_total[5m])", + "legendFormat": "withdrawal success/sec - {{job}}", + "refId": "B" + }, + { + "expr": "rate(sdp_withdrawal_validation_failures_total[5m])", + "legendFormat": "withdrawal validation failures/sec - {{job}}", + "refId": "C" + }, + { + "expr": "rate(sdp_withdrawal_tx_failures_total[5m])", + "legendFormat": "withdrawal tx failures/sec - {{job}}", + "refId": "D" + }, + { + "expr": "rate(sdp_withdrawal_mempool_failures_total[5m])", + "legendFormat": "withdrawal mempool failures/sec - {{job}}", + "refId": "E" + } + ], + "title": "SDP Withdrawals \u2014 events/sec", + "type": "timeseries" + } + ], + "refresh": "5s", + "schemaVersion": 40, + "tags": [ + "nomos", + "sdp" + ], + "templating": { + "list": [] + }, + "time": { + "from": "now-5m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "SDP Dashboard", + "uid": "sdp-dashboard", + "version": 1, + "weekStart": "" +}