Add invalid RLN messages to dashboard (#26)

Add invalid RLN messages to dashboard
This commit is contained in:
Alvaro Revuelta 2023-11-10 19:13:48 +01:00 committed by GitHub
parent e5d5ceba22
commit 62cc2c1f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 161 additions and 41 deletions

View File

@ -76,6 +76,7 @@
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [],
@ -85,7 +86,7 @@
"showUnfilled": true,
"valueMode": "color"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -154,7 +155,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -216,7 +217,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -282,7 +283,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -310,6 +311,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -403,6 +405,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -539,7 +542,7 @@
},
"showHeader": true
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -619,7 +622,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -696,7 +699,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -761,7 +764,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -839,7 +842,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -904,7 +907,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -966,7 +969,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -1031,7 +1034,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -1093,7 +1096,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -1121,6 +1124,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -1215,6 +1219,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -1309,6 +1314,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -1403,6 +1409,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -1497,6 +1504,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -1592,6 +1600,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -1690,6 +1699,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -1788,6 +1798,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -1886,6 +1897,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -1984,6 +1996,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -2082,6 +2095,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -2180,6 +2194,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -2278,6 +2293,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -2376,6 +2392,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
@ -2463,6 +2480,105 @@
"title": "RLN Spam Messages Total",
"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,
"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": 6,
"w": 6,
"x": 12,
"y": 60
},
"id": 138,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "waku_rln_invalid_messages_total_total",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "{{type}}",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "RLN Invalid Messages",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
@ -2539,7 +2655,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
@ -2650,7 +2766,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
@ -2762,7 +2878,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
@ -2847,6 +2963,8 @@
"id": 16,
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
@ -2858,7 +2976,7 @@
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"expr": "sum(pg_stat_database_blks_hit{instance=~\"$Instance\"})/(sum(pg_stat_database_blks_hit{instance=~\"$Instance\"})+sum(pg_stat_database_blks_read{instance=~\"$Instance\"}))*100",
@ -2915,6 +3033,8 @@
"id": 9,
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
@ -2926,7 +3046,7 @@
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"expr": "sum(pg_stat_database_numbackends)/max(pg_settings_max_connections)",
@ -2983,6 +3103,8 @@
"id": 15,
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
@ -2994,7 +3116,7 @@
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"expr": "sum(pg_stat_database_xact_commit{instance=\"$Instance\"})/(sum(pg_stat_database_xact_commit{instance=\"$Instance\"}) + sum(pg_stat_database_xact_rollback{instance=\"$Instance\"}))",
@ -3074,7 +3196,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
@ -3185,7 +3307,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
@ -3297,7 +3419,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
@ -3382,7 +3504,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
@ -3471,7 +3593,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
@ -3563,7 +3685,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -3662,7 +3784,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -3750,7 +3872,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -3855,7 +3977,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -3949,7 +4071,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -4043,7 +4165,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -4145,7 +4267,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -4239,7 +4361,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -4332,7 +4454,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -4422,7 +4544,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.1.2",
"pluginVersion": "10.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
@ -4475,16 +4597,14 @@
"refresh": "",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"isNone": true,
"selected": false,
"text": "None",
"value": ""
"text": "postgres-exporter:9187",
"value": "postgres-exporter:9187"
},
"datasource": {
"type": "prometheus",
@ -4539,7 +4659,7 @@
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": true,
"selected": false,
"text": "auto",
"value": "$__auto_interval_Interval"
},
@ -4618,6 +4738,6 @@
"timezone": "browser",
"title": "nwaku-monitoring",
"uid": "yns_4vFVk",
"version": 2,
"version": 1,
"weekStart": ""
}
}