diff --git a/.gitignore b/.gitignore index 96e64b826..ab6418020 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,7 @@ *.la *.exe *.dll + +# Ignore simulation generated metrics files +/metrics/prometheus +/metrics/waku-sim-all-nodes-grafana-dashboard.json diff --git a/README.md b/README.md index 232bf41b7..dab756f5e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,134 @@ # nim-waku -Waku node and protocol. +## Introduction +The nim-waku repository holds a Nim implementation of the [Waku protocol](https://specs.vac.dev/waku/waku.html) and a cli application `wakunode` that allows you to run a Waku +enabled node from command line. + +The Waku specification is still in draft and thus this implementation will +change accordingly. For supported specification details see [here](#spec-support). + +Additionally the original Whisper (EIP-627) protocol can also be enabled as can +an experimental Whisper - Waku bridging option. + +The underlying transport protocol is [rlpx + devp2p](https://github.com/ethereum/devp2p/blob/master/rlpx.md) and the [nim-eth](https://github.com/status-im/nim-eth) implementation is used. + +This repository is also a place for experimenting with possible future versions +of Waku such as replacing the transport protocol with libp2p. + +## How to Build & Run + +### Prerequisites + +* GNU Make, Bash and the usual POSIX utilities. Git 2.9.4 or newer. +* PCRE + +More information on the installation of these can be found [here](https://github.com/status-im/nimbus#prerequisites). + +### Wakunode + +```bash +# The first `make` invocation will update all Git submodules. +# You'll run `make update` after each `git pull`, in the future, to keep those submodules up to date. +make wakunode + +# See available command line options +./build/wakunode --help + +# Connect the client directly with the Status test fleet +./build/wakunode --log-level:debug --discovery:off --fleet:test --log-metrics +``` + +### Waku Protocol Test Suite + +```bash +# Run all the tests +make test +``` + +You can also run a specific test (and alter compile options as you want): +```bash +# Get a shell with the right environment variables set +./env.sh bash +# Run a specific test +nim c -r ./tests/v1/test_waku_connect.nim +``` + +### Waku Quick Simulation +One can set up several nodes, get them connected and then instruct them via the +JSON-RPC interface. This can be done via e.g. web3.js, nim-web3 (needs to be +updated) or simply curl your way out. + +The JSON-RPC interface is currently the same as the one of Whisper. The only +difference is the addition of broadcasting the topics interest when a filter +with a certain set of topics is subcribed. + +The quick simulation uses this approach, `start_network` launches a set of +`wakunode`s, and `quicksim` instructs the nodes through RPC calls. + +Example of how to build and run: +```bash +# Build wakunode + quicksim with metrics enabled +make NIMFLAGS="-d:insecure" wakusim + +# Start the simulation nodes, this currently requires multitail to be installed +./build/start_network --topology:FullMesh --amount:6 --test-node-peers:2 +# In another shell run +./build/quicksim +``` + +The `start_network` tool will also provide a `prometheus.yml` with targets +set to all simulation nodes that are started. This way you can easily start +prometheus with this config, e.g.: + +```bash +cd ./metrics/prometheus +prometheus +``` + +A Grafana dashboard containing the example dashboard for each simulation node +is also generated and can be imported in case you have Grafana running. +This dashboard can be found at `./metrics/waku-sim-all-nodes-grafana-dashboard.json` + +To read more details about metrics, see [next](#using-metrics) section. + +## Using Metrics + +Metrics are available for valid envelopes and dropped envelopes. + +To compile in an HTTP endpoint for accessing the metrics we need to provide the +`insecure` flag: +```bash +make NIMFLAGS="-d:insecure" wakunode +./build/wakunode --metrics-server +``` + +Ensure your Prometheus config `prometheus.yml` contains the targets you care about, e.g.: + +``` +scrape_configs: + - job_name: "waku" + static_configs: + - targets: ['localhost:8008', 'localhost:8009', 'localhost:8010'] +``` + +For visualisation, similar steps can be used as is written down for Nimbus +[here](https://github.com/status-im/nimbus#metric-visualisation). + +There is a similar example dashboard that includes visualisation of the +envelopes available at `waku/node/v1/examples/waku-grafana-dashboard.json`. + +## Spec support + +*This section last updated April 21, 2020* + +This client of Waku is spec compliant with [Waku spec v1.0](https://specs.vac.dev/waku/waku.html). + +It doesn't yet implement the following recommended features: +- No support for rate limiting +- No support for DNS discovery to find Waku nodes +- It doesn't disconnect a peer if it receives a message before a Status message +- No support for negotiation with peer supporting multiple versions via Devp2p capabilities in `Hello` packet + +Additionally it makes the following choices: +- It doesn't send message confirmations +- It has partial support for accounting: + - Accounting of total resource usage and total circulated envelopes is done through metrics But no accounting is done for individual peers. diff --git a/waku/node/v1/examples/waku-grafana-dashboard.json b/metrics/waku-grafana-dashboard.json similarity index 100% rename from waku/node/v1/examples/waku-grafana-dashboard.json rename to metrics/waku-grafana-dashboard.json diff --git a/waku/node/README.md b/waku/node/README.md deleted file mode 100644 index 318b90e91..000000000 --- a/waku/node/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Waku Node - -TODO. - -See README in `v1` folder for instructions on how to run a node. diff --git a/waku/node/v1/README.md b/waku/node/v1/README.md deleted file mode 100644 index c73e1b66f..000000000 --- a/waku/node/v1/README.md +++ /dev/null @@ -1,108 +0,0 @@ -# Introduction -`wakunode` is a cli application that allows you to run a -[Waku](https://specs.vac.dev/waku/waku.html) enabled node. - -The Waku specification is still in draft and thus this implementation will -change accordingly. - -Additionally the original Whisper (EIP-627) protocol can also be enabled as can -an experimental Whisper - Waku bridging option. - -# How to Build & Run - -## Prerequisites - -* GNU Make, Bash and the usual POSIX utilities. Git 2.9.4 or newer. -* PCRE - -More information on the installation of these can be found [here](https://github.com/status-im/nimbus#prerequisites). - -## Build & Run - -```bash -# The first `make` invocation will update all Git submodules. -# You'll run `make update` after each `git pull`, in the future, to keep those submodules up to date. -make wakunode - -# See available command line options -./build/wakunode --help - -# Connect the client directly with the Status test fleet -./build/wakunode --log-level:debug --discovery:off --fleet:test --log-metrics -``` - -# Using Metrics - -Metrics are available for valid envelopes and dropped envelopes. - -To compile in an HTTP endpoint for accessing the metrics we need to provide the -`insecure` flag: -```bash -make NIMFLAGS="-d:insecure" wakunode -./build/wakunode --metrics-server -``` - -Ensure your Prometheus config `prometheus.yml` contains the targets you care about, e.g.: - -``` -scrape_configs: - - job_name: "waku" - static_configs: - - targets: ['localhost:8008', 'localhost:8009', 'localhost:8010'] -``` - -For visualisation, similar steps can be used as is written down for Nimbus -[here](https://github.com/status-im/nimbus#metric-visualisation). - -There is a similar example dashboard that includes visualisation of the -envelopes available at `waku/examples/waku-grafana-dashboard.json`. - -# Testing Waku Protocol -One can set up several nodes, get them connected and then instruct them via the -JSON-RPC interface. This can be done via e.g. web3.js, nim-web3 (needs to be -updated) or simply curl your way out. - -The JSON-RPC interface is currently the same as the one of Whisper. The only -difference is the addition of broadcasting the topics interest when a filter -with a certain set of topics is subcribed. - -Example of a quick simulation using this approach: -```bash -# Build wakunode + quicksim -make NIMFLAGS="-d:insecure" wakusim - -# Start the simulation nodes, this currently requires multitail to be installed -./build/start_network --topology:FullMesh --amount:6 --test-node-peers:2 -# In another shell run -./build/quicksim -``` - -The `start_network` tool will also provide a `prometheus.yml` with targets -set to all simulation nodes that are started. This way you can easily start -prometheus with this config, e.g.: - -```bash -cd waku/metrics/prometheus -prometheus -``` - -A Grafana dashboard containing the example dashboard for each simulation node -is also generated and can be imported in case you have Grafana running. -This dashboard can be found at `./waku/metrics/waku-sim-all-nodes-grafana-dashboard.json` - -# Spec support - -*This section last updated April 21, 2020* - -This client of Waku is spec compliant with [Waku spec v1.0](https://specs.vac.dev/waku/waku.html). - -It doesn't yet implement the following recommended features: -- No support for rate limiting -- No support for DNS discovery to find Waku nodes -- It doesn't disconnect a peer if it receives a message before a Status message -- No support for negotiation with peer supporting multiple versions via Devp2p capabilities in `Hello` packet - -Additionally it makes the following choices: -- It doesn't send message confirmations -- It has partial support for accounting: - - Accounting of total resource usage and total circulated envelopes is done through metrics But no accounting is done for individual peers. diff --git a/waku/node/v1/metrics/prometheus/prometheus.yml b/waku/node/v1/metrics/prometheus/prometheus.yml deleted file mode 100644 index 055734cfa..000000000 --- a/waku/node/v1/metrics/prometheus/prometheus.yml +++ /dev/null @@ -1,24 +0,0 @@ - global: - scrape_interval: 1s - - scrape_configs: - - job_name: "wakusim" - static_configs: - - targets: ['127.0.0.1:8010'] - labels: - node: '0' - - targets: ['127.0.0.1:8011'] - labels: - node: '1' - - targets: ['127.0.0.1:8012'] - labels: - node: '2' - - targets: ['127.0.0.1:8013'] - labels: - node: '3' - - targets: ['127.0.0.1:8008'] - labels: - node: '4' - - targets: ['127.0.0.1:8009'] - labels: - node: '5' \ No newline at end of file diff --git a/waku/node/v1/metrics/waku-sim-all-nodes-grafana-dashboard.json b/waku/node/v1/metrics/waku-sim-all-nodes-grafana-dashboard.json deleted file mode 100644 index 145f4469b..000000000 --- a/waku/node/v1/metrics/waku-sim-all-nodes-grafana-dashboard.json +++ /dev/null @@ -1,4617 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "editable": true, - "gnetId": null, - "graphTooltip": 0, - "id": 8, - "links": [], - "panels": [ - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 0 - }, - "id": 0, - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "connected_peers{node=\"0\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Connected Peers #0", - "type": "gauge" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 6, - "y": 0 - }, - "id": 1, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "valid_envelopes_total{node=\"0\"}", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Valid Envelopes #0", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 10, - "y": 0 - }, - "id": 2, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "pluginVersion": "6.4.5", - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "dropped_expired_envelopes_total{node=\"0\"} + dropped_from_future_envelopes_total{node=\"0\"} + dropped_low_pow_envelopes_total{node=\"0\"} + dropped_too_large_envelopes_total{node=\"0\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"0\"} + dropped_topic_mismatch_envelopes_total{node=\"0\"} +dropped_benign_duplicate_envelopes_total{node=\"0\"} + dropped_duplicate_envelopes_total{node=\"0\"}", - "legendFormat": "Invalid envelopes", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Invalid Envelopes #0", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 14, - "y": 0 - }, - "id": 3, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 200, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 200 - } - ], - "unit": "percent" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "rate(process_cpu_seconds_total{node=\"0\"}[5s]) * 100", - "legendFormat": "CPU Usage", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "CPU Usage #0", - "type": "gauge" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 19, - "y": 0 - }, - "id": 4, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 2147483648, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 2147483648 - } - ], - "unit": "bytes" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "process_resident_memory_bytes{node=\"0\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "RSS Memory #0", - "type": "gauge" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 4 - }, - "id": 5, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.4.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "valid_envelopes_total{node=\"0\"}", - "hide": false, - "instant": false, - "legendFormat": "Valid", - "refId": "A" - }, - { - "expr": "dropped_benign_duplicate_envelopes_total{node=\"0\"}", - "hide": false, - "instant": false, - "legendFormat": "Benign duplicate", - "refId": "B" - }, - { - "expr": "dropped_duplicate_envelopes_total{node=\"0\"}", - "hide": false, - "legendFormat": "Duplicate", - "refId": "C" - }, - { - "expr": "dropped_expired_envelopes_total{node=\"0\"}", - "hide": false, - "legendFormat": "Expired", - "refId": "D" - }, - { - "expr": "dropped_from_future_envelopes_total{node=\"0\"}", - "hide": false, - "legendFormat": "Future timestamped", - "refId": "E" - }, - { - "expr": "dropped_low_pow_envelopes_total{node=\"0\"}", - "hide": false, - "legendFormat": "Too low PoW", - "refId": "F" - }, - { - "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"0\"}", - "hide": false, - "legendFormat": "Bloom filter mismatch", - "refId": "G" - }, - { - "expr": "dropped_topic_mismatch_envelopes_total{node=\"0\"}", - "hide": false, - "legendFormat": "Topic mismatch", - "refId": "H" - }, - { - "expr": "dropped_too_large_envelopes_total{node=\"0\"}", - "hide": false, - "legendFormat": "Too Large", - "refId": "I" - }, - { - "expr": "dropped_full_queue_new_envelopes_total{node=\"0\"}", - "hide": false, - "legendFormat": "Full queue new", - "refId": "J" - }, - { - "expr": "dropped_full_queue_old_envelopes_total{node=\"0\"}", - "hide": false, - "legendFormat": "Full queue old", - "refId": "K" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Envelopes #0", - "tooltip": { - "shared": true, - "sort": 1, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 4 - }, - "id": 6, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "RSS Memory", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "connected_peers{node=\"0\"}", - "intervalFactor": 1, - "legendFormat": "Connected Peers", - "refId": "A" - }, - { - "expr": "process_resident_memory_bytes{node=\"0\"}", - "interval": "", - "intervalFactor": 1, - "legendFormat": "RSS Memory", - "refId": "B" - }, - { - "expr": "rate(process_cpu_seconds_total{node=\"0\"}[15s]) * 100", - "legendFormat": "CPU usage %", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Node #0", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 13 - }, - "id": 7, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "process_max_fds{node=\"0\"}", - "legendFormat": "Maximum file descriptors", - "refId": "A" - }, - { - "expr": "process_open_fds{node=\"0\"}", - "legendFormat": "Open file descriptors", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "File Descriptors #0", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 13 - }, - "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "nim_gc_mem_bytes{node=\"0\"}", - "legendFormat": "Nim GC total memory", - "refId": "A" - }, - { - "expr": "nim_gc_mem_occupied_bytes{node=\"0\"}", - "legendFormat": "Nim GC used memory", - "refId": "B" - }, - { - "expr": "process_resident_memory_bytes{node=\"0\"}", - "legendFormat": "RSS memory", - "refId": "C" - }, - { - "expr": "process_virtual_memory_bytes{node=\"0\"}", - "legendFormat": "Virtual memory", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Usage #0", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 21 - }, - "id": 9, - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "connected_peers{node=\"1\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Connected Peers #1", - "type": "gauge" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 6, - "y": 21 - }, - "id": 10, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "valid_envelopes_total{node=\"1\"}", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Valid Envelopes #1", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 10, - "y": 21 - }, - "id": 11, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "pluginVersion": "6.4.5", - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "dropped_expired_envelopes_total{node=\"1\"} + dropped_from_future_envelopes_total{node=\"1\"} + dropped_low_pow_envelopes_total{node=\"1\"} + dropped_too_large_envelopes_total{node=\"1\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"1\"} + dropped_topic_mismatch_envelopes_total{node=\"1\"} +dropped_benign_duplicate_envelopes_total{node=\"1\"} + dropped_duplicate_envelopes_total{node=\"1\"}", - "legendFormat": "Invalid envelopes", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Invalid Envelopes #1", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 14, - "y": 21 - }, - "id": 12, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 200, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 200 - } - ], - "unit": "percent" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "rate(process_cpu_seconds_total{node=\"1\"}[5s]) * 100", - "legendFormat": "CPU Usage", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "CPU Usage #1", - "type": "gauge" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 19, - "y": 21 - }, - "id": 13, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 2147483648, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 2147483648 - } - ], - "unit": "bytes" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "process_resident_memory_bytes{node=\"1\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "RSS Memory #1", - "type": "gauge" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 25 - }, - "id": 14, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.4.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "valid_envelopes_total{node=\"1\"}", - "hide": false, - "instant": false, - "legendFormat": "Valid", - "refId": "A" - }, - { - "expr": "dropped_benign_duplicate_envelopes_total{node=\"1\"}", - "hide": false, - "instant": false, - "legendFormat": "Benign duplicate", - "refId": "B" - }, - { - "expr": "dropped_duplicate_envelopes_total{node=\"1\"}", - "hide": false, - "legendFormat": "Duplicate", - "refId": "C" - }, - { - "expr": "dropped_expired_envelopes_total{node=\"1\"}", - "hide": false, - "legendFormat": "Expired", - "refId": "D" - }, - { - "expr": "dropped_from_future_envelopes_total{node=\"1\"}", - "hide": false, - "legendFormat": "Future timestamped", - "refId": "E" - }, - { - "expr": "dropped_low_pow_envelopes_total{node=\"1\"}", - "hide": false, - "legendFormat": "Too low PoW", - "refId": "F" - }, - { - "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"1\"}", - "hide": false, - "legendFormat": "Bloom filter mismatch", - "refId": "G" - }, - { - "expr": "dropped_topic_mismatch_envelopes_total{node=\"1\"}", - "hide": false, - "legendFormat": "Topic mismatch", - "refId": "H" - }, - { - "expr": "dropped_too_large_envelopes_total{node=\"1\"}", - "hide": false, - "legendFormat": "Too Large", - "refId": "I" - }, - { - "expr": "dropped_full_queue_new_envelopes_total{node=\"1\"}", - "hide": false, - "legendFormat": "Full queue new", - "refId": "J" - }, - { - "expr": "dropped_full_queue_old_envelopes_total{node=\"1\"}", - "hide": false, - "legendFormat": "Full queue old", - "refId": "K" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Envelopes #1", - "tooltip": { - "shared": true, - "sort": 1, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 25 - }, - "id": 15, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "RSS Memory", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "connected_peers{node=\"1\"}", - "intervalFactor": 1, - "legendFormat": "Connected Peers", - "refId": "A" - }, - { - "expr": "process_resident_memory_bytes{node=\"1\"}", - "interval": "", - "intervalFactor": 1, - "legendFormat": "RSS Memory", - "refId": "B" - }, - { - "expr": "rate(process_cpu_seconds_total{node=\"1\"}[15s]) * 100", - "legendFormat": "CPU usage %", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Node #1", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 34 - }, - "id": 16, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "process_max_fds{node=\"1\"}", - "legendFormat": "Maximum file descriptors", - "refId": "A" - }, - { - "expr": "process_open_fds{node=\"1\"}", - "legendFormat": "Open file descriptors", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "File Descriptors #1", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 34 - }, - "id": 17, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "nim_gc_mem_bytes{node=\"1\"}", - "legendFormat": "Nim GC total memory", - "refId": "A" - }, - { - "expr": "nim_gc_mem_occupied_bytes{node=\"1\"}", - "legendFormat": "Nim GC used memory", - "refId": "B" - }, - { - "expr": "process_resident_memory_bytes{node=\"1\"}", - "legendFormat": "RSS memory", - "refId": "C" - }, - { - "expr": "process_virtual_memory_bytes{node=\"1\"}", - "legendFormat": "Virtual memory", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Usage #1", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 42 - }, - "id": 18, - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "connected_peers{node=\"2\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Connected Peers #2", - "type": "gauge" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 6, - "y": 42 - }, - "id": 19, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "valid_envelopes_total{node=\"2\"}", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Valid Envelopes #2", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 10, - "y": 42 - }, - "id": 20, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "pluginVersion": "6.4.5", - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "dropped_expired_envelopes_total{node=\"2\"} + dropped_from_future_envelopes_total{node=\"2\"} + dropped_low_pow_envelopes_total{node=\"2\"} + dropped_too_large_envelopes_total{node=\"2\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"2\"} + dropped_topic_mismatch_envelopes_total{node=\"2\"} +dropped_benign_duplicate_envelopes_total{node=\"2\"} + dropped_duplicate_envelopes_total{node=\"2\"}", - "legendFormat": "Invalid envelopes", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Invalid Envelopes #2", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 14, - "y": 42 - }, - "id": 21, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 200, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 200 - } - ], - "unit": "percent" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "rate(process_cpu_seconds_total{node=\"2\"}[5s]) * 100", - "legendFormat": "CPU Usage", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "CPU Usage #2", - "type": "gauge" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 19, - "y": 42 - }, - "id": 22, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 2147483648, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 2147483648 - } - ], - "unit": "bytes" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "process_resident_memory_bytes{node=\"2\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "RSS Memory #2", - "type": "gauge" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 46 - }, - "id": 23, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.4.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "valid_envelopes_total{node=\"2\"}", - "hide": false, - "instant": false, - "legendFormat": "Valid", - "refId": "A" - }, - { - "expr": "dropped_benign_duplicate_envelopes_total{node=\"2\"}", - "hide": false, - "instant": false, - "legendFormat": "Benign duplicate", - "refId": "B" - }, - { - "expr": "dropped_duplicate_envelopes_total{node=\"2\"}", - "hide": false, - "legendFormat": "Duplicate", - "refId": "C" - }, - { - "expr": "dropped_expired_envelopes_total{node=\"2\"}", - "hide": false, - "legendFormat": "Expired", - "refId": "D" - }, - { - "expr": "dropped_from_future_envelopes_total{node=\"2\"}", - "hide": false, - "legendFormat": "Future timestamped", - "refId": "E" - }, - { - "expr": "dropped_low_pow_envelopes_total{node=\"2\"}", - "hide": false, - "legendFormat": "Too low PoW", - "refId": "F" - }, - { - "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"2\"}", - "hide": false, - "legendFormat": "Bloom filter mismatch", - "refId": "G" - }, - { - "expr": "dropped_topic_mismatch_envelopes_total{node=\"2\"}", - "hide": false, - "legendFormat": "Topic mismatch", - "refId": "H" - }, - { - "expr": "dropped_too_large_envelopes_total{node=\"2\"}", - "hide": false, - "legendFormat": "Too Large", - "refId": "I" - }, - { - "expr": "dropped_full_queue_new_envelopes_total{node=\"2\"}", - "hide": false, - "legendFormat": "Full queue new", - "refId": "J" - }, - { - "expr": "dropped_full_queue_old_envelopes_total{node=\"2\"}", - "hide": false, - "legendFormat": "Full queue old", - "refId": "K" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Envelopes #2", - "tooltip": { - "shared": true, - "sort": 1, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 46 - }, - "id": 24, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "RSS Memory", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "connected_peers{node=\"2\"}", - "intervalFactor": 1, - "legendFormat": "Connected Peers", - "refId": "A" - }, - { - "expr": "process_resident_memory_bytes{node=\"2\"}", - "interval": "", - "intervalFactor": 1, - "legendFormat": "RSS Memory", - "refId": "B" - }, - { - "expr": "rate(process_cpu_seconds_total{node=\"2\"}[15s]) * 100", - "legendFormat": "CPU usage %", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Node #2", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 55 - }, - "id": 25, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "process_max_fds{node=\"2\"}", - "legendFormat": "Maximum file descriptors", - "refId": "A" - }, - { - "expr": "process_open_fds{node=\"2\"}", - "legendFormat": "Open file descriptors", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "File Descriptors #2", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 55 - }, - "id": 26, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "nim_gc_mem_bytes{node=\"2\"}", - "legendFormat": "Nim GC total memory", - "refId": "A" - }, - { - "expr": "nim_gc_mem_occupied_bytes{node=\"2\"}", - "legendFormat": "Nim GC used memory", - "refId": "B" - }, - { - "expr": "process_resident_memory_bytes{node=\"2\"}", - "legendFormat": "RSS memory", - "refId": "C" - }, - { - "expr": "process_virtual_memory_bytes{node=\"2\"}", - "legendFormat": "Virtual memory", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Usage #2", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 63 - }, - "id": 27, - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "connected_peers{node=\"3\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Connected Peers #3", - "type": "gauge" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 6, - "y": 63 - }, - "id": 28, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "valid_envelopes_total{node=\"3\"}", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Valid Envelopes #3", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 10, - "y": 63 - }, - "id": 29, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "pluginVersion": "6.4.5", - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "dropped_expired_envelopes_total{node=\"3\"} + dropped_from_future_envelopes_total{node=\"3\"} + dropped_low_pow_envelopes_total{node=\"3\"} + dropped_too_large_envelopes_total{node=\"3\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"3\"} + dropped_topic_mismatch_envelopes_total{node=\"3\"} +dropped_benign_duplicate_envelopes_total{node=\"3\"} + dropped_duplicate_envelopes_total{node=\"3\"}", - "legendFormat": "Invalid envelopes", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Invalid Envelopes #3", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 14, - "y": 63 - }, - "id": 30, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 200, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 200 - } - ], - "unit": "percent" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "rate(process_cpu_seconds_total{node=\"3\"}[5s]) * 100", - "legendFormat": "CPU Usage", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "CPU Usage #3", - "type": "gauge" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 19, - "y": 63 - }, - "id": 31, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 2147483648, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 2147483648 - } - ], - "unit": "bytes" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "process_resident_memory_bytes{node=\"3\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "RSS Memory #3", - "type": "gauge" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 67 - }, - "id": 32, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.4.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "valid_envelopes_total{node=\"3\"}", - "hide": false, - "instant": false, - "legendFormat": "Valid", - "refId": "A" - }, - { - "expr": "dropped_benign_duplicate_envelopes_total{node=\"3\"}", - "hide": false, - "instant": false, - "legendFormat": "Benign duplicate", - "refId": "B" - }, - { - "expr": "dropped_duplicate_envelopes_total{node=\"3\"}", - "hide": false, - "legendFormat": "Duplicate", - "refId": "C" - }, - { - "expr": "dropped_expired_envelopes_total{node=\"3\"}", - "hide": false, - "legendFormat": "Expired", - "refId": "D" - }, - { - "expr": "dropped_from_future_envelopes_total{node=\"3\"}", - "hide": false, - "legendFormat": "Future timestamped", - "refId": "E" - }, - { - "expr": "dropped_low_pow_envelopes_total{node=\"3\"}", - "hide": false, - "legendFormat": "Too low PoW", - "refId": "F" - }, - { - "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"3\"}", - "hide": false, - "legendFormat": "Bloom filter mismatch", - "refId": "G" - }, - { - "expr": "dropped_topic_mismatch_envelopes_total{node=\"3\"}", - "hide": false, - "legendFormat": "Topic mismatch", - "refId": "H" - }, - { - "expr": "dropped_too_large_envelopes_total{node=\"3\"}", - "hide": false, - "legendFormat": "Too Large", - "refId": "I" - }, - { - "expr": "dropped_full_queue_new_envelopes_total{node=\"3\"}", - "hide": false, - "legendFormat": "Full queue new", - "refId": "J" - }, - { - "expr": "dropped_full_queue_old_envelopes_total{node=\"3\"}", - "hide": false, - "legendFormat": "Full queue old", - "refId": "K" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Envelopes #3", - "tooltip": { - "shared": true, - "sort": 1, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 67 - }, - "id": 33, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "RSS Memory", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "connected_peers{node=\"3\"}", - "intervalFactor": 1, - "legendFormat": "Connected Peers", - "refId": "A" - }, - { - "expr": "process_resident_memory_bytes{node=\"3\"}", - "interval": "", - "intervalFactor": 1, - "legendFormat": "RSS Memory", - "refId": "B" - }, - { - "expr": "rate(process_cpu_seconds_total{node=\"3\"}[15s]) * 100", - "legendFormat": "CPU usage %", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Node #3", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 76 - }, - "id": 34, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "process_max_fds{node=\"3\"}", - "legendFormat": "Maximum file descriptors", - "refId": "A" - }, - { - "expr": "process_open_fds{node=\"3\"}", - "legendFormat": "Open file descriptors", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "File Descriptors #3", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 76 - }, - "id": 35, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "nim_gc_mem_bytes{node=\"3\"}", - "legendFormat": "Nim GC total memory", - "refId": "A" - }, - { - "expr": "nim_gc_mem_occupied_bytes{node=\"3\"}", - "legendFormat": "Nim GC used memory", - "refId": "B" - }, - { - "expr": "process_resident_memory_bytes{node=\"3\"}", - "legendFormat": "RSS memory", - "refId": "C" - }, - { - "expr": "process_virtual_memory_bytes{node=\"3\"}", - "legendFormat": "Virtual memory", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Usage #3", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 84 - }, - "id": 36, - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "connected_peers{node=\"4\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Connected Peers #4", - "type": "gauge" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 6, - "y": 84 - }, - "id": 37, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "valid_envelopes_total{node=\"4\"}", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Valid Envelopes #4", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 10, - "y": 84 - }, - "id": 38, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "pluginVersion": "6.4.5", - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "dropped_expired_envelopes_total{node=\"4\"} + dropped_from_future_envelopes_total{node=\"4\"} + dropped_low_pow_envelopes_total{node=\"4\"} + dropped_too_large_envelopes_total{node=\"4\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"4\"} + dropped_topic_mismatch_envelopes_total{node=\"4\"} +dropped_benign_duplicate_envelopes_total{node=\"4\"} + dropped_duplicate_envelopes_total{node=\"4\"}", - "legendFormat": "Invalid envelopes", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Invalid Envelopes #4", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 14, - "y": 84 - }, - "id": 39, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 200, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 200 - } - ], - "unit": "percent" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "rate(process_cpu_seconds_total{node=\"4\"}[5s]) * 100", - "legendFormat": "CPU Usage", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "CPU Usage #4", - "type": "gauge" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 19, - "y": 84 - }, - "id": 40, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 2147483648, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 2147483648 - } - ], - "unit": "bytes" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "process_resident_memory_bytes{node=\"4\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "RSS Memory #4", - "type": "gauge" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 88 - }, - "id": 41, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.4.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "valid_envelopes_total{node=\"4\"}", - "hide": false, - "instant": false, - "legendFormat": "Valid", - "refId": "A" - }, - { - "expr": "dropped_benign_duplicate_envelopes_total{node=\"4\"}", - "hide": false, - "instant": false, - "legendFormat": "Benign duplicate", - "refId": "B" - }, - { - "expr": "dropped_duplicate_envelopes_total{node=\"4\"}", - "hide": false, - "legendFormat": "Duplicate", - "refId": "C" - }, - { - "expr": "dropped_expired_envelopes_total{node=\"4\"}", - "hide": false, - "legendFormat": "Expired", - "refId": "D" - }, - { - "expr": "dropped_from_future_envelopes_total{node=\"4\"}", - "hide": false, - "legendFormat": "Future timestamped", - "refId": "E" - }, - { - "expr": "dropped_low_pow_envelopes_total{node=\"4\"}", - "hide": false, - "legendFormat": "Too low PoW", - "refId": "F" - }, - { - "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"4\"}", - "hide": false, - "legendFormat": "Bloom filter mismatch", - "refId": "G" - }, - { - "expr": "dropped_topic_mismatch_envelopes_total{node=\"4\"}", - "hide": false, - "legendFormat": "Topic mismatch", - "refId": "H" - }, - { - "expr": "dropped_too_large_envelopes_total{node=\"4\"}", - "hide": false, - "legendFormat": "Too Large", - "refId": "I" - }, - { - "expr": "dropped_full_queue_new_envelopes_total{node=\"4\"}", - "hide": false, - "legendFormat": "Full queue new", - "refId": "J" - }, - { - "expr": "dropped_full_queue_old_envelopes_total{node=\"4\"}", - "hide": false, - "legendFormat": "Full queue old", - "refId": "K" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Envelopes #4", - "tooltip": { - "shared": true, - "sort": 1, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 88 - }, - "id": 42, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "RSS Memory", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "connected_peers{node=\"4\"}", - "intervalFactor": 1, - "legendFormat": "Connected Peers", - "refId": "A" - }, - { - "expr": "process_resident_memory_bytes{node=\"4\"}", - "interval": "", - "intervalFactor": 1, - "legendFormat": "RSS Memory", - "refId": "B" - }, - { - "expr": "rate(process_cpu_seconds_total{node=\"4\"}[15s]) * 100", - "legendFormat": "CPU usage %", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Node #4", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 97 - }, - "id": 43, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "process_max_fds{node=\"4\"}", - "legendFormat": "Maximum file descriptors", - "refId": "A" - }, - { - "expr": "process_open_fds{node=\"4\"}", - "legendFormat": "Open file descriptors", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "File Descriptors #4", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 97 - }, - "id": 44, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "nim_gc_mem_bytes{node=\"4\"}", - "legendFormat": "Nim GC total memory", - "refId": "A" - }, - { - "expr": "nim_gc_mem_occupied_bytes{node=\"4\"}", - "legendFormat": "Nim GC used memory", - "refId": "B" - }, - { - "expr": "process_resident_memory_bytes{node=\"4\"}", - "legendFormat": "RSS memory", - "refId": "C" - }, - { - "expr": "process_virtual_memory_bytes{node=\"4\"}", - "legendFormat": "Virtual memory", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Usage #4", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 105 - }, - "id": 45, - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "connected_peers{node=\"5\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Connected Peers #5", - "type": "gauge" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 6, - "y": 105 - }, - "id": 46, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "valid_envelopes_total{node=\"5\"}", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Valid Envelopes #5", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 10, - "y": 105 - }, - "id": 47, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "pluginVersion": "6.4.5", - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "dropped_expired_envelopes_total{node=\"5\"} + dropped_from_future_envelopes_total{node=\"5\"} + dropped_low_pow_envelopes_total{node=\"5\"} + dropped_too_large_envelopes_total{node=\"5\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"5\"} + dropped_topic_mismatch_envelopes_total{node=\"5\"} +dropped_benign_duplicate_envelopes_total{node=\"5\"} + dropped_duplicate_envelopes_total{node=\"5\"}", - "legendFormat": "Invalid envelopes", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Invalid Envelopes #5", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 14, - "y": 105 - }, - "id": 48, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 200, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 200 - } - ], - "unit": "percent" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "rate(process_cpu_seconds_total{node=\"5\"}[5s]) * 100", - "legendFormat": "CPU Usage", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "CPU Usage #5", - "type": "gauge" - }, - { - "datasource": null, - "gridPos": { - "h": 4, - "w": 5, - "x": 19, - "y": 105 - }, - "id": 49, - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "max": 2147483648, - "min": 0, - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 2147483648 - } - ], - "unit": "bytes" - }, - "override": {}, - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.4.5", - "targets": [ - { - "expr": "process_resident_memory_bytes{node=\"5\"}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "RSS Memory #5", - "type": "gauge" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 109 - }, - "id": 50, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.4.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "valid_envelopes_total{node=\"5\"}", - "hide": false, - "instant": false, - "legendFormat": "Valid", - "refId": "A" - }, - { - "expr": "dropped_benign_duplicate_envelopes_total{node=\"5\"}", - "hide": false, - "instant": false, - "legendFormat": "Benign duplicate", - "refId": "B" - }, - { - "expr": "dropped_duplicate_envelopes_total{node=\"5\"}", - "hide": false, - "legendFormat": "Duplicate", - "refId": "C" - }, - { - "expr": "dropped_expired_envelopes_total{node=\"5\"}", - "hide": false, - "legendFormat": "Expired", - "refId": "D" - }, - { - "expr": "dropped_from_future_envelopes_total{node=\"5\"}", - "hide": false, - "legendFormat": "Future timestamped", - "refId": "E" - }, - { - "expr": "dropped_low_pow_envelopes_total{node=\"5\"}", - "hide": false, - "legendFormat": "Too low PoW", - "refId": "F" - }, - { - "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"5\"}", - "hide": false, - "legendFormat": "Bloom filter mismatch", - "refId": "G" - }, - { - "expr": "dropped_topic_mismatch_envelopes_total{node=\"5\"}", - "hide": false, - "legendFormat": "Topic mismatch", - "refId": "H" - }, - { - "expr": "dropped_too_large_envelopes_total{node=\"5\"}", - "hide": false, - "legendFormat": "Too Large", - "refId": "I" - }, - { - "expr": "dropped_full_queue_new_envelopes_total{node=\"5\"}", - "hide": false, - "legendFormat": "Full queue new", - "refId": "J" - }, - { - "expr": "dropped_full_queue_old_envelopes_total{node=\"5\"}", - "hide": false, - "legendFormat": "Full queue old", - "refId": "K" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Envelopes #5", - "tooltip": { - "shared": true, - "sort": 1, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 109 - }, - "id": 51, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "RSS Memory", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "connected_peers{node=\"5\"}", - "intervalFactor": 1, - "legendFormat": "Connected Peers", - "refId": "A" - }, - { - "expr": "process_resident_memory_bytes{node=\"5\"}", - "interval": "", - "intervalFactor": 1, - "legendFormat": "RSS Memory", - "refId": "B" - }, - { - "expr": "rate(process_cpu_seconds_total{node=\"5\"}[15s]) * 100", - "legendFormat": "CPU usage %", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Waku Node #5", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 118 - }, - "id": 52, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "process_max_fds{node=\"5\"}", - "legendFormat": "Maximum file descriptors", - "refId": "A" - }, - { - "expr": "process_open_fds{node=\"5\"}", - "legendFormat": "Open file descriptors", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "File Descriptors #5", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 118 - }, - "id": 53, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "nim_gc_mem_bytes{node=\"5\"}", - "legendFormat": "Nim GC total memory", - "refId": "A" - }, - { - "expr": "nim_gc_mem_occupied_bytes{node=\"5\"}", - "legendFormat": "Nim GC used memory", - "refId": "B" - }, - { - "expr": "process_resident_memory_bytes{node=\"5\"}", - "legendFormat": "RSS memory", - "refId": "C" - }, - { - "expr": "process_virtual_memory_bytes{node=\"5\"}", - "legendFormat": "Virtual memory", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Usage #5", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "refresh": "5s", - "schemaVersion": 20, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-30m", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] - }, - "timezone": "", - "title": "Waku Node (all nodes)", - "uid": "K7Z6IoBZka", - "version": 2 -} \ No newline at end of file diff --git a/waku/node/v1/start_network.nim b/waku/node/v1/start_network.nim index 845379e9c..ed57a82ef 100644 --- a/waku/node/v1/start_network.nim +++ b/waku/node/v1/start_network.nim @@ -5,7 +5,7 @@ import const defaults ="--log-level:DEBUG --log-metrics --metrics-server --rpc" wakuNodeBin = "build" / "wakunode" - metricsDir = "waku" / "metrics" + metricsDir = "metrics" portOffset = 2 type @@ -189,7 +189,7 @@ when isMainModule: generatePrometheusConfig(nodes, metricsDir / "prometheus" / "prometheus.yml") proccessGrafanaDashboard(nodes.len, - "waku" / "examples" / "waku-grafana-dashboard.json", + metricsDir / "waku-grafana-dashboard.json", metricsDir / "waku-sim-all-nodes-grafana-dashboard.json") let errorCode = execCmd(commandStr) diff --git a/waku/protocol/README.md b/waku/protocol/README.md index 23c5546a5..fa1828b36 100644 --- a/waku/protocol/README.md +++ b/waku/protocol/README.md @@ -1,10 +1,7 @@ # Waku Protocol -TODO. +This folder contains supported versions of the Waku protocol. -This folder will contain/link to https://github.com/status-im/nim-eth/tree/master/eth/p2p/rlpx_protocols as well as the libp2p version> - -Briefly on versions: - -- Waku v0 and v1 are here https://github.com/vacp2p/specs/tree/master/specs/waku -- Waku v2 will be build on top of libp2p +Currently, +- v1 contains the implementation according to Waku specification v1. +- v2 is experimental development with Waku build on top of libp2p.