From 0f61e3d32bf40590ad967f68754435f2764d7c9f Mon Sep 17 00:00:00 2001 From: Tanya S <120410716+stubbsta@users.noreply.github.com> Date: Thu, 18 Apr 2024 09:58:07 +0200 Subject: [PATCH] Add grafana dashboard panel for RLN invalid messages (#34) * Add grafana panel RLN Invalid Messages Total * Update grafana and web service ports * add new grafana port to ini file --- docker-compose.yml | 2 +- .../dashboards/nwaku-monitoring.json | 97 +++++++++++++++++++ submodules/waku-rln-contract | 1 - 3 files changed, 98 insertions(+), 2 deletions(-) delete mode 160000 submodules/waku-rln-contract diff --git a/docker-compose.yml b/docker-compose.yml index 40e3a4c..78ec2ff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -228,4 +228,4 @@ services: - redis - foundry networks: - - simulation + - simulation \ No newline at end of file diff --git a/monitoring/configuration/dashboards/nwaku-monitoring.json b/monitoring/configuration/dashboards/nwaku-monitoring.json index 14d826e..ab83f76 100644 --- a/monitoring/configuration/dashboards/nwaku-monitoring.json +++ b/monitoring/configuration/dashboards/nwaku-monitoring.json @@ -4803,6 +4803,103 @@ ], "title": "RLN Valid Messages Total", "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "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" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 11, + "x": 0, + "y": 173 + }, + "id": 82, + "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": "{{instance}}_{{__name__}}", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "RLN Invalid Messages Total", + "type": "timeseries" } ], "refresh": "10s", diff --git a/submodules/waku-rln-contract b/submodules/waku-rln-contract deleted file mode 160000 index a01daa8..0000000 --- a/submodules/waku-rln-contract +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a01daa8b9475a5dd23db47625e86f585963dd473