store query success and faulure

This commit is contained in:
kaichaosun 2025-02-26 16:28:07 +08:00
parent 22df281953
commit dff1f8bbae
No known key found for this signature in database
GPG Key ID: 223E0F992F4F03BF

View File

@ -501,6 +501,124 @@
"title": "Message Reliability",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Outgoing messages will be marked as failed if it's not get stored in 10 seconds.",
"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"
}
},
"fieldMinMax": false,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 30
},
"id": 15,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.5.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "increase(statusgo_waku_store_query_successes_total[5m])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "Store Success (5m)",
"range": true,
"refId": "B",
"useBackend": false
},
{
"disableTextWrap": false,
"editorMode": "code",
"expr": "increase(statusgo_waku_store_query_failures_total[5m])",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "Store Failed (5m)",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Message Stored Check",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
@ -560,7 +678,7 @@
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"x": 12,
"y": 30
},
"id": 3,