diff --git a/grafana/provisioning/dashboards/status-go.json b/grafana/provisioning/dashboards/status-go.json index f947f5a..cdf6ae4 100644 --- a/grafana/provisioning/dashboards/status-go.json +++ b/grafana/provisioning/dashboards/status-go.json @@ -21,6 +21,90 @@ "id": 1, "links": [], "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 12, + "panels": [], + "title": "Network Status", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "yellow", + "value": 1 + }, + { + "color": "green", + "value": 5 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 7, + "x": 9, + "y": 1 + }, + "id": 2, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "statusgo_waku_connected_peers", + "instant": false, + "legendFormat": "Connected Peers", + "range": true, + "refId": "A" + } + ], + "title": "Connected Peers", + "type": "gauge" + }, { "datasource": { "type": "prometheus", @@ -85,9 +169,9 @@ "h": 8, "w": 12, "x": 0, - "y": 0 + "y": 9 }, - "id": 11, + "id": 6, "options": { "legend": { "calcs": [], @@ -96,19 +180,117 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "11.3.1", + "pluginVersion": "11.5.1", "targets": [ { "disableTextWrap": false, "editorMode": "builder", - "expr": "rate(statusgo_waku_raw_message_size_bytes[10m])", + "expr": "statusgo_waku_peers_by_shard", "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "{{message_type}}", + "includeNullMetadata": true, + "legendFormat": "{{shard}}", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Peers by Shard", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 9 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "statusgo_waku_peers_by_origin", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "{{origin}}", "range": true, "refId": "A", "useBackend": false @@ -120,7 +302,7 @@ }, "disableTextWrap": false, "editorMode": "builder", - "expr": "sum(rate(statusgo_waku_raw_message_size_bytes[10m]))", + "expr": "sum(statusgo_waku_peers_by_origin)", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, @@ -131,80 +313,9 @@ "useBackend": false } ], - "title": "Rate of Bytes for Raw Message by Type", + "title": "Peers By Discovery Origin", "type": "timeseries" }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "yellow", - "value": 1 - }, - { - "color": "green", - "value": 5 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 2, - "options": { - "minVizHeight": 75, - "minVizWidth": 75, - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true, - "sizing": "auto" - }, - "pluginVersion": "11.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "expr": "statusgo_waku_connected_peers", - "instant": false, - "legendFormat": "Connected Peers", - "range": true, - "refId": "A" - } - ], - "title": "Connected Peers", - "type": "gauge" - }, { "datasource": { "type": "prometheus", @@ -227,12 +338,12 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 12, "w": 12, "x": 0, - "y": 8 + "y": 17 }, - "id": 10, + "id": 8, "options": { "legend": { "displayMode": "list", @@ -248,25 +359,27 @@ "values": false }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "11.3.1", + "pluginVersion": "11.5.1", "targets": [ { "disableTextWrap": false, "editorMode": "builder", - "expr": "statusgo_waku_raw_message_sent_total", + "expr": "statusgo_waku_peer_dial_failures_total", + "format": "time_series", "fullMetaSearch": false, "includeNullMetadata": true, - "legendFormat": "{{message_type}}", + "legendFormat": "{{error_type}}", "range": true, "refId": "A", "useBackend": false } ], - "title": "Total Raw Message by Type", + "title": "Dial Failures By Type", "type": "piechart" }, { @@ -334,7 +447,7 @@ "h": 12, "w": 12, "x": 12, - "y": 8 + "y": 17 }, "id": 7, "options": { @@ -345,11 +458,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "11.3.1", + "pluginVersion": "11.5.1", "targets": [ { "adhocFilters": [], @@ -375,100 +489,17 @@ "type": "timeseries" }, { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, + "collapsed": false, "gridPos": { - "h": 8, - "w": 12, + "h": 1, + "w": 24, "x": 0, - "y": 16 + "y": 29 }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "11.3.1", - "targets": [ - { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "statusgo_waku_peers_by_shard", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "{{shard}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Peers by Shard", - "type": "timeseries" + "id": 13, + "panels": [], + "title": "Message Reliability", + "type": "row" }, { "datasource": { @@ -522,18 +553,17 @@ "value": null } ] - }, - "unit": "bytes" + } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, - "x": 12, - "y": 20 + "x": 0, + "y": 30 }, - "id": 4, + "id": 3, "options": { "legend": { "calcs": [], @@ -542,11 +572,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "11.3.1", + "pluginVersion": "11.5.1", "targets": [ { "datasource": { @@ -554,290 +585,28 @@ "uid": "PBFA97CFB590B2093" }, "editorMode": "code", - "expr": "rate(statusgo_waku_message_size_bytes[5m])", + "expr": "statusgo_waku_message_errors_total", "instant": false, - "legendFormat": "Message Size Rate", + "legendFormat": "Message Errors", "range": true, "refId": "A" } ], - "title": "Message Size Rate", + "title": "Message Errors", "type": "timeseries" }, { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, + "collapsed": false, "gridPos": { - "h": 8, - "w": 12, + "h": 1, + "w": 24, "x": 0, - "y": 24 + "y": 38 }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "11.3.1", - "targets": [ - { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "statusgo_waku_peers_by_origin", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "{{origin}}", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(statusgo_waku_peers_by_origin)", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "Total", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Peers By Discovery Origin", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 28 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "11.3.1", - "targets": [ - { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "avg_over_time(statusgo_waku_messages_sent_total_count[10m])", - "fullMetaSearch": false, - "includeNullMetadata": false, - "interval": "", - "legendFormat": "{{publish_method}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Average messages sent every 10 min", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - } - }, - "mappings": [] - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 12, - "x": 0, - "y": 32 - }, - "id": 8, - "options": { - "legend": { - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "pieType": "pie", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "11.3.1", - "targets": [ - { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "statusgo_waku_peer_dial_failures_total", - "format": "time_series", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "{{error_type}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Dial Failures By Type", - "type": "piechart" + "id": 14, + "panels": [], + "title": "Bandwidth Usage", + "type": "row" }, { "datasource": { @@ -900,7 +669,7 @@ "h": 8, "w": 12, "x": 0, - "y": 44 + "y": 39 }, "id": 1, "options": { @@ -911,11 +680,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "11.3.1", + "pluginVersion": "11.5.1", "targets": [ { "datasource": { @@ -997,17 +767,18 @@ "value": null } ] - } + }, + "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, - "x": 0, - "y": 52 + "x": 12, + "y": 39 }, - "id": 3, + "id": 4, "options": { "legend": { "calcs": [], @@ -1016,11 +787,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "11.3.1", + "pluginVersion": "11.5.1", "targets": [ { "datasource": { @@ -1028,14 +800,291 @@ "uid": "PBFA97CFB590B2093" }, "editorMode": "code", - "expr": "statusgo_waku_message_errors_total", + "expr": "rate(statusgo_waku_message_size_bytes[5m])", "instant": false, - "legendFormat": "Message Errors", + "legendFormat": "Message Size Rate", "range": true, "refId": "A" } ], - "title": "Message Errors", + "title": "Message Size Rate", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 47 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "avg_over_time(statusgo_waku_messages_sent_total_count[10m])", + "fullMetaSearch": false, + "includeNullMetadata": false, + "interval": "", + "legendFormat": "{{publish_method}}", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Average messages sent every 10 min", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [] + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 47 + }, + "id": 10, + "options": { + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "pieType": "pie", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "statusgo_waku_raw_message_sent_total", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "{{message_type}}", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Total Raw Message by Type", + "type": "piechart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 55 + }, + "id": 11, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "rate(statusgo_waku_raw_message_size_bytes[10m])", + "fullMetaSearch": false, + "includeNullMetadata": false, + "legendFormat": "{{message_type}}", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum(rate(statusgo_waku_raw_message_size_bytes[10m]))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Total", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Rate of Bytes for Raw Message by Type", "type": "timeseries" } ],