Merge pull request #2 from waku-org/message-type-charts

add charts for message type bandwidth
This commit is contained in:
Arseniy Klempner 2025-01-24 14:54:25 -08:00 committed by GitHub
commit ba593ce83f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@
"x": 0,
"y": 0
},
"id": 9,
"id": 11,
"options": {
"legend": {
"calcs": [],
@ -105,17 +105,33 @@
{
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg_over_time(waku_telem_messages_sent_total_count[10m])",
"expr": "rate(statusgo_waku_raw_message_size_bytes[10m])",
"fullMetaSearch": false,
"includeNullMetadata": false,
"interval": "",
"legendFormat": "{{publish_method}}",
"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": "Average messages sent every 10 min",
"title": "Rate of Bytes for Raw Message by Type",
"type": "timeseries"
},
{
@ -179,7 +195,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "waku_connected_peers",
"expr": "statusgo_waku_connected_peers",
"instant": false,
"legendFormat": "Connected Peers",
"range": true,
@ -216,7 +232,7 @@
"x": 0,
"y": 8
},
"id": 8,
"id": 10,
"options": {
"legend": {
"displayMode": "list",
@ -241,112 +257,18 @@
{
"disableTextWrap": false,
"editorMode": "builder",
"expr": "waku_telem_peer_dial_failures_total",
"expr": "statusgo_waku_raw_message_sent_total",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "{{error_type}}",
"legendFormat": "{{message_type}}",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Dial Failures By Type",
"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": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "rate(waku_message_size_bytes_sum[5m])",
"instant": false,
"legendFormat": "Message Size Rate",
"range": true,
"refId": "A"
}
],
"title": "Message Size Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
@ -409,10 +331,10 @@
"overrides": []
},
"gridPos": {
"h": 8,
"h": 12,
"w": 12,
"x": 0,
"y": 16
"x": 12,
"y": 8
},
"id": 7,
"options": {
@ -438,7 +360,7 @@
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "rate(waku_telem_peer_dial_failures_total[10m])",
"expr": "rate(statusgo_waku_peer_dial_failures_total[10m])",
"fullMetaSearch": false,
"includeNullMetadata": false,
"instant": true,
@ -516,7 +438,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 24
"y": 16
},
"id": 6,
"options": {
@ -536,7 +458,7 @@
{
"disableTextWrap": false,
"editorMode": "builder",
"expr": "waku_telem_peers_by_shard",
"expr": "statusgo_waku_peers_by_shard",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "{{shard}}",
@ -548,101 +470,6 @@
"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"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 32
},
"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": "waku_telem_peers_by_origin",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "{{origin}}",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Peers By Discovery Origin",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
@ -691,7 +518,377 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 20
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "rate(statusgo_waku_message_size_bytes[5m])",
"instant": false,
"legendFormat": "Message Size Rate",
"range": true,
"refId": "A"
}
],
"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": 24
},
"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"
},
{
"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": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
@ -703,7 +900,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 40
"y": 44
},
"id": 1,
"options": {
@ -726,7 +923,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "waku_messages_sent_total",
"expr": "statusgo_waku_messages_sent_total",
"instant": false,
"legendFormat": "Messages Sent",
"range": true,
@ -738,7 +935,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "waku_messages_received_total",
"expr": "sum(statusgo_waku_messages_received_total)",
"instant": false,
"legendFormat": "Messages Received",
"range": true,
@ -796,7 +993,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
}
@ -807,7 +1005,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 48
"y": 52
},
"id": 3,
"options": {
@ -830,7 +1028,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "waku_message_errors_total",
"expr": "statusgo_waku_message_errors_total",
"instant": false,
"legendFormat": "Message Errors",
"range": true,
@ -849,13 +1047,13 @@
"list": []
},
"time": {
"from": "2025-01-09T22:50:22.417Z",
"to": "2025-01-09T23:04:49.597Z"
"from": "now-5m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Status-Go Metrics",
"uid": "status-go-metrics",
"version": 4,
"version": 1,
"weekStart": ""
}