diff --git a/waku/README.md b/waku/README.md new file mode 100644 index 000000000..d654e5cde --- /dev/null +++ b/waku/README.md @@ -0,0 +1,103 @@ +# Introduction +`wakunode` is a cli application that allows you to run a +[Waku](https://github.com/vacp2p/specs/blob/master/waku.md) enabled node. + +The application and Waku specification are still experimental and fully in flux. + +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 +make # The first `make` invocation will update all Git submodules and prompt you to run `make` again. + # It's only required once per Git clone. You'll run `make update` after each `git pull`, in the future, + # to keep those submodules up to date. +make wakunode +./build/wakunode --help +``` + +# 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 7, 2020* + +This client of Waku is spec compliant with [Waku spec v0.4](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/config.nim b/waku/config.nim new file mode 100644 index 000000000..688c4ff31 --- /dev/null +++ b/waku/config.nim @@ -0,0 +1,154 @@ +import + confutils/defs, chronicles, chronos, + eth/keys, eth/p2p/rlpx_protocols/waku_protocol + +type + Fleet* = enum + none + prod + staging + test + + WakuNodeConf* = object + logLevel* {. + desc: "Sets the log level." + defaultValue: LogLevel.INFO + name: "log-level" }: LogLevel + + tcpPort* {. + desc: "TCP listening port." + defaultValue: 30303 + name: "tcp-port" }: uint16 + + udpPort* {. + desc: "UDP listening port." + defaultValue: 30303 + name: "udp-port" }: uint16 + + portsShift* {. + desc: "Add a shift to all port numbers." + defaultValue: 0 + name: "ports-shift" }: uint16 + + nat* {. + desc: "Specify method to use for determining public address. " & + "Must be one of: any, none, upnp, pmp, extip:." + defaultValue: "any" }: string + + discovery* {. + desc: "Enable/disable discovery v4." + defaultValue: true + name: "discovery" }: bool + + noListen* {. + desc: "Disable listening for incoming peers." + defaultValue: false + name: "no-listen" }: bool + + fleet* {. + desc: "Select the fleet to connect to." + defaultValue: Fleet.none + name: "fleet" }: Fleet + + bootnodes* {. + desc: "Enode URL to bootstrap P2P discovery with. Argument may be repeated." + name: "bootnode" }: seq[string] + + staticnodes* {. + desc: "Enode URL to directly connect with. Argument may be repeated." + name: "staticnode" }: seq[string] + + whisper* {. + desc: "Enable the Whisper protocol." + defaultValue: false + name: "whisper" }: bool + + whisperBridge* {. + desc: "Enable the Whisper protocol and bridge with Waku protocol." + defaultValue: false + name: "whisper-bridge" }: bool + + lightNode* {. + desc: "Run as light node (no message relay).", + defaultValue: false + name: "light-node" }: bool + + wakuTopicInterest* {. + desc: "Run as node with a topic-interest", + defaultValue: false + name: "waku-topic-interest" }: bool + + wakuPow* {. + desc: "PoW requirement of Waku node.", + defaultValue: 0.002 + name: "waku-pow" }: float64 + + nodekey* {. + desc: "P2P node private key as hex.", + defaultValue: KeyPair.random().tryGet() + name: "nodekey" }: KeyPair + # TODO: Add nodekey file option + + bootnodeOnly* {. + desc: "Run only as discovery bootnode." + defaultValue: false + name: "bootnode-only" }: bool + + rpc* {. + desc: "Enable Waku RPC server.", + defaultValue: false + name: "rpc" }: bool + + rpcAddress* {. + desc: "Listening address of the RPC server.", + defaultValue: parseIpAddress("127.0.0.1") + name: "rpc-address" }: IpAddress + + rpcPort* {. + desc: "Listening port of the RPC server.", + defaultValue: 8545 + name: "rpc-port" }: uint16 + + metricsServer* {. + desc: "Enable the metrics server." + defaultValue: false + name: "metrics-server" }: bool + + metricsServerAddress* {. + desc: "Listening address of the metrics server." + defaultValue: parseIpAddress("127.0.0.1") + name: "metrics-server-address" }: IpAddress + + metricsServerPort* {. + desc: "Listening HTTP port of the metrics server." + defaultValue: 8008 + name: "metrics-server-port" }: uint16 + + logMetrics* {. + desc: "Enable metrics logging." + defaultValue: false + name: "log-metrics" }: bool + + # TODO: + # - discv5 + topic register + # - mailserver functionality + +proc parseCmdArg*(T: type KeyPair, p: TaintedString): T = + try: + # TODO: add isValidPrivateKey check from Nimbus? + result.seckey = PrivateKey.fromHex(string(p)).tryGet() + result.pubkey = result.seckey.toPublicKey()[] + except CatchableError as e: + raise newException(ConfigurationError, "Invalid private key") + +proc completeCmdArg*(T: type KeyPair, val: TaintedString): seq[string] = + return @[] + +proc parseCmdArg*(T: type IpAddress, p: TaintedString): T = + try: + result = parseIpAddress(p) + except CatchableError as e: + raise newException(ConfigurationError, "Invalid IP address") + +proc completeCmdArg*(T: type IpAddress, val: TaintedString): seq[string] = + return @[] diff --git a/waku/docker/Dockerfile b/waku/docker/Dockerfile new file mode 100644 index 000000000..b4f1589db --- /dev/null +++ b/waku/docker/Dockerfile @@ -0,0 +1,36 @@ +FROM debian:bullseye-slim AS build + +SHELL ["/bin/bash", "-c"] + +RUN apt-get -qq update \ + && apt-get -qq -y install build-essential make wget libpcre3-dev git curl &>/dev/null \ + && apt-get -qq clean + +ARG GIT_REVISION + +RUN cd /root \ + && git clone https://github.com/status-im/nimbus.git \ + && cd nimbus \ + && git reset --hard ${GIT_REVISION} \ + && { make &>/dev/null || true; } \ + && make -j$(nproc) update \ + && make NIMFLAGS="-d:debug -d:insecure" wakunode + +# --------------------------------- # +# Starting new image to reduce size # +# --------------------------------- # +FROM debian:bullseye-slim + +SHELL ["/bin/bash", "-c"] + +RUN apt-get -qq update \ + && apt-get -qq -y install libpcre3 &>/dev/null \ + && apt-get -qq clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +COPY --from=build /root/nimbus/build/wakunode /usr/bin/wakunode + +MAINTAINER Kim De Mey +LABEL description="Wakunode: Waku and Whisper client" + +ENTRYPOINT ["/usr/bin/wakunode"] diff --git a/waku/docker/Makefile b/waku/docker/Makefile new file mode 100644 index 000000000..7fc69ab09 --- /dev/null +++ b/waku/docker/Makefile @@ -0,0 +1,16 @@ +SHELL := bash # the shell used internally by "make" + +# These default settings can be overriden by exporting env variables + +GIT_REVISION ?= $(shell git rev-parse HEAD) + +IMAGE_TAG ?= latest +IMAGE_NAME ?= statusteam/nimbus_wakunode:$(IMAGE_TAG) + +build: + docker build \ + --build-arg="GIT_REVISION=$(GIT_REVISION)" \ + -t $(IMAGE_NAME) . + +push: build + docker push $(IMAGE_NAME) diff --git a/waku/examples/waku-grafana-dashboard.json b/waku/examples/waku-grafana-dashboard.json new file mode 100644 index 000000000..e7df1dff4 --- /dev/null +++ b/waku/examples/waku-grafana-dashboard.json @@ -0,0 +1,812 @@ +{ + "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": 16, + "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": 22, + "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": 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=\"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": 14, + "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": 18, + "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": 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, + "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": 2, + "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": 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": "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": 4, + "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 + } + } + ], + "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", + "uid": "K7Z6IoBZk", + "version": 2 +} \ No newline at end of file diff --git a/waku/metrics/prometheus/prometheus.yml b/waku/metrics/prometheus/prometheus.yml new file mode 100644 index 000000000..fd4f53f83 --- /dev/null +++ b/waku/metrics/prometheus/prometheus.yml @@ -0,0 +1,48 @@ + 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:8014'] + labels: + node: '4' + - targets: ['127.0.0.1:8015'] + labels: + node: '5' + - targets: ['127.0.0.1:8016'] + labels: + node: '6' + - targets: ['127.0.0.1:8017'] + labels: + node: '7' + - targets: ['127.0.0.1:8018'] + labels: + node: '8' + - targets: ['127.0.0.1:8019'] + labels: + node: '9' + - targets: ['127.0.0.1:8020'] + labels: + node: '10' + - targets: ['127.0.0.1:8021'] + labels: + node: '11' + - targets: ['127.0.0.1:8008'] + labels: + node: '12' + - targets: ['127.0.0.1:8009'] + labels: + node: '13' \ No newline at end of file diff --git a/waku/metrics/waku-sim-all-nodes-grafana-dashboard.json b/waku/metrics/waku-sim-all-nodes-grafana-dashboard.json new file mode 100644 index 000000000..44f34d70b --- /dev/null +++ b/waku/metrics/waku-sim-all-nodes-grafana-dashboard.json @@ -0,0 +1,10705 @@ +{ + "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 + } + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 6, + "x": 0, + "y": 126 + }, + "id": 54, + "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=\"6\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Connected Peers #6", + "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": 126 + }, + "id": 55, + "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=\"6\"}", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Valid Envelopes #6", + "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": 126 + }, + "id": 56, + "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=\"6\"} + dropped_from_future_envelopes_total{node=\"6\"} + dropped_low_pow_envelopes_total{node=\"6\"} + dropped_too_large_envelopes_total{node=\"6\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"6\"} + dropped_topic_mismatch_envelopes_total{node=\"6\"} +dropped_benign_duplicate_envelopes_total{node=\"6\"} + dropped_duplicate_envelopes_total{node=\"6\"}", + "legendFormat": "Invalid envelopes", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Invalid Envelopes #6", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 14, + "y": 126 + }, + "id": 57, + "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=\"6\"}[5s]) * 100", + "legendFormat": "CPU Usage", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage #6", + "type": "gauge" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 19, + "y": 126 + }, + "id": 58, + "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=\"6\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RSS Memory #6", + "type": "gauge" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 130 + }, + "id": 59, + "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=\"6\"}", + "hide": false, + "instant": false, + "legendFormat": "Valid", + "refId": "A" + }, + { + "expr": "dropped_benign_duplicate_envelopes_total{node=\"6\"}", + "hide": false, + "instant": false, + "legendFormat": "Benign duplicate", + "refId": "B" + }, + { + "expr": "dropped_duplicate_envelopes_total{node=\"6\"}", + "hide": false, + "legendFormat": "Duplicate", + "refId": "C" + }, + { + "expr": "dropped_expired_envelopes_total{node=\"6\"}", + "hide": false, + "legendFormat": "Expired", + "refId": "D" + }, + { + "expr": "dropped_from_future_envelopes_total{node=\"6\"}", + "hide": false, + "legendFormat": "Future timestamped", + "refId": "E" + }, + { + "expr": "dropped_low_pow_envelopes_total{node=\"6\"}", + "hide": false, + "legendFormat": "Too low PoW", + "refId": "F" + }, + { + "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"6\"}", + "hide": false, + "legendFormat": "Bloom filter mismatch", + "refId": "G" + }, + { + "expr": "dropped_topic_mismatch_envelopes_total{node=\"6\"}", + "hide": false, + "legendFormat": "Topic mismatch", + "refId": "H" + }, + { + "expr": "dropped_too_large_envelopes_total{node=\"6\"}", + "hide": false, + "legendFormat": "Too Large", + "refId": "I" + }, + { + "expr": "dropped_full_queue_new_envelopes_total{node=\"6\"}", + "hide": false, + "legendFormat": "Full queue new", + "refId": "J" + }, + { + "expr": "dropped_full_queue_old_envelopes_total{node=\"6\"}", + "hide": false, + "legendFormat": "Full queue old", + "refId": "K" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Envelopes #6", + "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": 130 + }, + "id": 60, + "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=\"6\"}", + "intervalFactor": 1, + "legendFormat": "Connected Peers", + "refId": "A" + }, + { + "expr": "process_resident_memory_bytes{node=\"6\"}", + "interval": "", + "intervalFactor": 1, + "legendFormat": "RSS Memory", + "refId": "B" + }, + { + "expr": "rate(process_cpu_seconds_total{node=\"6\"}[15s]) * 100", + "legendFormat": "CPU usage %", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Node #6", + "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": 139 + }, + "id": 61, + "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=\"6\"}", + "legendFormat": "Maximum file descriptors", + "refId": "A" + }, + { + "expr": "process_open_fds{node=\"6\"}", + "legendFormat": "Open file descriptors", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "File Descriptors #6", + "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": 139 + }, + "id": 62, + "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=\"6\"}", + "legendFormat": "Nim GC total memory", + "refId": "A" + }, + { + "expr": "nim_gc_mem_occupied_bytes{node=\"6\"}", + "legendFormat": "Nim GC used memory", + "refId": "B" + }, + { + "expr": "process_resident_memory_bytes{node=\"6\"}", + "legendFormat": "RSS memory", + "refId": "C" + }, + { + "expr": "process_virtual_memory_bytes{node=\"6\"}", + "legendFormat": "Virtual memory", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory Usage #6", + "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": 147 + }, + "id": 63, + "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=\"7\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Connected Peers #7", + "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": 147 + }, + "id": 64, + "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=\"7\"}", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Valid Envelopes #7", + "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": 147 + }, + "id": 65, + "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=\"7\"} + dropped_from_future_envelopes_total{node=\"7\"} + dropped_low_pow_envelopes_total{node=\"7\"} + dropped_too_large_envelopes_total{node=\"7\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"7\"} + dropped_topic_mismatch_envelopes_total{node=\"7\"} +dropped_benign_duplicate_envelopes_total{node=\"7\"} + dropped_duplicate_envelopes_total{node=\"7\"}", + "legendFormat": "Invalid envelopes", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Invalid Envelopes #7", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 14, + "y": 147 + }, + "id": 66, + "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=\"7\"}[5s]) * 100", + "legendFormat": "CPU Usage", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage #7", + "type": "gauge" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 19, + "y": 147 + }, + "id": 67, + "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=\"7\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RSS Memory #7", + "type": "gauge" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 151 + }, + "id": 68, + "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=\"7\"}", + "hide": false, + "instant": false, + "legendFormat": "Valid", + "refId": "A" + }, + { + "expr": "dropped_benign_duplicate_envelopes_total{node=\"7\"}", + "hide": false, + "instant": false, + "legendFormat": "Benign duplicate", + "refId": "B" + }, + { + "expr": "dropped_duplicate_envelopes_total{node=\"7\"}", + "hide": false, + "legendFormat": "Duplicate", + "refId": "C" + }, + { + "expr": "dropped_expired_envelopes_total{node=\"7\"}", + "hide": false, + "legendFormat": "Expired", + "refId": "D" + }, + { + "expr": "dropped_from_future_envelopes_total{node=\"7\"}", + "hide": false, + "legendFormat": "Future timestamped", + "refId": "E" + }, + { + "expr": "dropped_low_pow_envelopes_total{node=\"7\"}", + "hide": false, + "legendFormat": "Too low PoW", + "refId": "F" + }, + { + "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"7\"}", + "hide": false, + "legendFormat": "Bloom filter mismatch", + "refId": "G" + }, + { + "expr": "dropped_topic_mismatch_envelopes_total{node=\"7\"}", + "hide": false, + "legendFormat": "Topic mismatch", + "refId": "H" + }, + { + "expr": "dropped_too_large_envelopes_total{node=\"7\"}", + "hide": false, + "legendFormat": "Too Large", + "refId": "I" + }, + { + "expr": "dropped_full_queue_new_envelopes_total{node=\"7\"}", + "hide": false, + "legendFormat": "Full queue new", + "refId": "J" + }, + { + "expr": "dropped_full_queue_old_envelopes_total{node=\"7\"}", + "hide": false, + "legendFormat": "Full queue old", + "refId": "K" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Envelopes #7", + "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": 151 + }, + "id": 69, + "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=\"7\"}", + "intervalFactor": 1, + "legendFormat": "Connected Peers", + "refId": "A" + }, + { + "expr": "process_resident_memory_bytes{node=\"7\"}", + "interval": "", + "intervalFactor": 1, + "legendFormat": "RSS Memory", + "refId": "B" + }, + { + "expr": "rate(process_cpu_seconds_total{node=\"7\"}[15s]) * 100", + "legendFormat": "CPU usage %", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Node #7", + "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": 160 + }, + "id": 70, + "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=\"7\"}", + "legendFormat": "Maximum file descriptors", + "refId": "A" + }, + { + "expr": "process_open_fds{node=\"7\"}", + "legendFormat": "Open file descriptors", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "File Descriptors #7", + "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": 160 + }, + "id": 71, + "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=\"7\"}", + "legendFormat": "Nim GC total memory", + "refId": "A" + }, + { + "expr": "nim_gc_mem_occupied_bytes{node=\"7\"}", + "legendFormat": "Nim GC used memory", + "refId": "B" + }, + { + "expr": "process_resident_memory_bytes{node=\"7\"}", + "legendFormat": "RSS memory", + "refId": "C" + }, + { + "expr": "process_virtual_memory_bytes{node=\"7\"}", + "legendFormat": "Virtual memory", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory Usage #7", + "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": 168 + }, + "id": 72, + "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=\"8\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Connected Peers #8", + "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": 168 + }, + "id": 73, + "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=\"8\"}", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Valid Envelopes #8", + "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": 168 + }, + "id": 74, + "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=\"8\"} + dropped_from_future_envelopes_total{node=\"8\"} + dropped_low_pow_envelopes_total{node=\"8\"} + dropped_too_large_envelopes_total{node=\"8\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"8\"} + dropped_topic_mismatch_envelopes_total{node=\"8\"} +dropped_benign_duplicate_envelopes_total{node=\"8\"} + dropped_duplicate_envelopes_total{node=\"8\"}", + "legendFormat": "Invalid envelopes", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Invalid Envelopes #8", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 14, + "y": 168 + }, + "id": 75, + "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=\"8\"}[5s]) * 100", + "legendFormat": "CPU Usage", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage #8", + "type": "gauge" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 19, + "y": 168 + }, + "id": 76, + "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=\"8\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RSS Memory #8", + "type": "gauge" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 172 + }, + "id": 77, + "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=\"8\"}", + "hide": false, + "instant": false, + "legendFormat": "Valid", + "refId": "A" + }, + { + "expr": "dropped_benign_duplicate_envelopes_total{node=\"8\"}", + "hide": false, + "instant": false, + "legendFormat": "Benign duplicate", + "refId": "B" + }, + { + "expr": "dropped_duplicate_envelopes_total{node=\"8\"}", + "hide": false, + "legendFormat": "Duplicate", + "refId": "C" + }, + { + "expr": "dropped_expired_envelopes_total{node=\"8\"}", + "hide": false, + "legendFormat": "Expired", + "refId": "D" + }, + { + "expr": "dropped_from_future_envelopes_total{node=\"8\"}", + "hide": false, + "legendFormat": "Future timestamped", + "refId": "E" + }, + { + "expr": "dropped_low_pow_envelopes_total{node=\"8\"}", + "hide": false, + "legendFormat": "Too low PoW", + "refId": "F" + }, + { + "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"8\"}", + "hide": false, + "legendFormat": "Bloom filter mismatch", + "refId": "G" + }, + { + "expr": "dropped_topic_mismatch_envelopes_total{node=\"8\"}", + "hide": false, + "legendFormat": "Topic mismatch", + "refId": "H" + }, + { + "expr": "dropped_too_large_envelopes_total{node=\"8\"}", + "hide": false, + "legendFormat": "Too Large", + "refId": "I" + }, + { + "expr": "dropped_full_queue_new_envelopes_total{node=\"8\"}", + "hide": false, + "legendFormat": "Full queue new", + "refId": "J" + }, + { + "expr": "dropped_full_queue_old_envelopes_total{node=\"8\"}", + "hide": false, + "legendFormat": "Full queue old", + "refId": "K" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Envelopes #8", + "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": 172 + }, + "id": 78, + "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=\"8\"}", + "intervalFactor": 1, + "legendFormat": "Connected Peers", + "refId": "A" + }, + { + "expr": "process_resident_memory_bytes{node=\"8\"}", + "interval": "", + "intervalFactor": 1, + "legendFormat": "RSS Memory", + "refId": "B" + }, + { + "expr": "rate(process_cpu_seconds_total{node=\"8\"}[15s]) * 100", + "legendFormat": "CPU usage %", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Node #8", + "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": 181 + }, + "id": 79, + "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=\"8\"}", + "legendFormat": "Maximum file descriptors", + "refId": "A" + }, + { + "expr": "process_open_fds{node=\"8\"}", + "legendFormat": "Open file descriptors", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "File Descriptors #8", + "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": 181 + }, + "id": 80, + "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=\"8\"}", + "legendFormat": "Nim GC total memory", + "refId": "A" + }, + { + "expr": "nim_gc_mem_occupied_bytes{node=\"8\"}", + "legendFormat": "Nim GC used memory", + "refId": "B" + }, + { + "expr": "process_resident_memory_bytes{node=\"8\"}", + "legendFormat": "RSS memory", + "refId": "C" + }, + { + "expr": "process_virtual_memory_bytes{node=\"8\"}", + "legendFormat": "Virtual memory", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory Usage #8", + "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": 189 + }, + "id": 81, + "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=\"9\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Connected Peers #9", + "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": 189 + }, + "id": 82, + "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=\"9\"}", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Valid Envelopes #9", + "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": 189 + }, + "id": 83, + "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=\"9\"} + dropped_from_future_envelopes_total{node=\"9\"} + dropped_low_pow_envelopes_total{node=\"9\"} + dropped_too_large_envelopes_total{node=\"9\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"9\"} + dropped_topic_mismatch_envelopes_total{node=\"9\"} +dropped_benign_duplicate_envelopes_total{node=\"9\"} + dropped_duplicate_envelopes_total{node=\"9\"}", + "legendFormat": "Invalid envelopes", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Invalid Envelopes #9", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 14, + "y": 189 + }, + "id": 84, + "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=\"9\"}[5s]) * 100", + "legendFormat": "CPU Usage", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage #9", + "type": "gauge" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 19, + "y": 189 + }, + "id": 85, + "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=\"9\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RSS Memory #9", + "type": "gauge" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 193 + }, + "id": 86, + "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=\"9\"}", + "hide": false, + "instant": false, + "legendFormat": "Valid", + "refId": "A" + }, + { + "expr": "dropped_benign_duplicate_envelopes_total{node=\"9\"}", + "hide": false, + "instant": false, + "legendFormat": "Benign duplicate", + "refId": "B" + }, + { + "expr": "dropped_duplicate_envelopes_total{node=\"9\"}", + "hide": false, + "legendFormat": "Duplicate", + "refId": "C" + }, + { + "expr": "dropped_expired_envelopes_total{node=\"9\"}", + "hide": false, + "legendFormat": "Expired", + "refId": "D" + }, + { + "expr": "dropped_from_future_envelopes_total{node=\"9\"}", + "hide": false, + "legendFormat": "Future timestamped", + "refId": "E" + }, + { + "expr": "dropped_low_pow_envelopes_total{node=\"9\"}", + "hide": false, + "legendFormat": "Too low PoW", + "refId": "F" + }, + { + "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"9\"}", + "hide": false, + "legendFormat": "Bloom filter mismatch", + "refId": "G" + }, + { + "expr": "dropped_topic_mismatch_envelopes_total{node=\"9\"}", + "hide": false, + "legendFormat": "Topic mismatch", + "refId": "H" + }, + { + "expr": "dropped_too_large_envelopes_total{node=\"9\"}", + "hide": false, + "legendFormat": "Too Large", + "refId": "I" + }, + { + "expr": "dropped_full_queue_new_envelopes_total{node=\"9\"}", + "hide": false, + "legendFormat": "Full queue new", + "refId": "J" + }, + { + "expr": "dropped_full_queue_old_envelopes_total{node=\"9\"}", + "hide": false, + "legendFormat": "Full queue old", + "refId": "K" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Envelopes #9", + "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": 193 + }, + "id": 87, + "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=\"9\"}", + "intervalFactor": 1, + "legendFormat": "Connected Peers", + "refId": "A" + }, + { + "expr": "process_resident_memory_bytes{node=\"9\"}", + "interval": "", + "intervalFactor": 1, + "legendFormat": "RSS Memory", + "refId": "B" + }, + { + "expr": "rate(process_cpu_seconds_total{node=\"9\"}[15s]) * 100", + "legendFormat": "CPU usage %", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Node #9", + "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": 202 + }, + "id": 88, + "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=\"9\"}", + "legendFormat": "Maximum file descriptors", + "refId": "A" + }, + { + "expr": "process_open_fds{node=\"9\"}", + "legendFormat": "Open file descriptors", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "File Descriptors #9", + "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": 202 + }, + "id": 89, + "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=\"9\"}", + "legendFormat": "Nim GC total memory", + "refId": "A" + }, + { + "expr": "nim_gc_mem_occupied_bytes{node=\"9\"}", + "legendFormat": "Nim GC used memory", + "refId": "B" + }, + { + "expr": "process_resident_memory_bytes{node=\"9\"}", + "legendFormat": "RSS memory", + "refId": "C" + }, + { + "expr": "process_virtual_memory_bytes{node=\"9\"}", + "legendFormat": "Virtual memory", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory Usage #9", + "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": 210 + }, + "id": 90, + "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=\"10\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Connected Peers #10", + "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": 210 + }, + "id": 91, + "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=\"10\"}", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Valid Envelopes #10", + "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": 210 + }, + "id": 92, + "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=\"10\"} + dropped_from_future_envelopes_total{node=\"10\"} + dropped_low_pow_envelopes_total{node=\"10\"} + dropped_too_large_envelopes_total{node=\"10\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"10\"} + dropped_topic_mismatch_envelopes_total{node=\"10\"} +dropped_benign_duplicate_envelopes_total{node=\"10\"} + dropped_duplicate_envelopes_total{node=\"10\"}", + "legendFormat": "Invalid envelopes", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Invalid Envelopes #10", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 14, + "y": 210 + }, + "id": 93, + "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=\"10\"}[5s]) * 100", + "legendFormat": "CPU Usage", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage #10", + "type": "gauge" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 19, + "y": 210 + }, + "id": 94, + "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=\"10\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RSS Memory #10", + "type": "gauge" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 214 + }, + "id": 95, + "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=\"10\"}", + "hide": false, + "instant": false, + "legendFormat": "Valid", + "refId": "A" + }, + { + "expr": "dropped_benign_duplicate_envelopes_total{node=\"10\"}", + "hide": false, + "instant": false, + "legendFormat": "Benign duplicate", + "refId": "B" + }, + { + "expr": "dropped_duplicate_envelopes_total{node=\"10\"}", + "hide": false, + "legendFormat": "Duplicate", + "refId": "C" + }, + { + "expr": "dropped_expired_envelopes_total{node=\"10\"}", + "hide": false, + "legendFormat": "Expired", + "refId": "D" + }, + { + "expr": "dropped_from_future_envelopes_total{node=\"10\"}", + "hide": false, + "legendFormat": "Future timestamped", + "refId": "E" + }, + { + "expr": "dropped_low_pow_envelopes_total{node=\"10\"}", + "hide": false, + "legendFormat": "Too low PoW", + "refId": "F" + }, + { + "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"10\"}", + "hide": false, + "legendFormat": "Bloom filter mismatch", + "refId": "G" + }, + { + "expr": "dropped_topic_mismatch_envelopes_total{node=\"10\"}", + "hide": false, + "legendFormat": "Topic mismatch", + "refId": "H" + }, + { + "expr": "dropped_too_large_envelopes_total{node=\"10\"}", + "hide": false, + "legendFormat": "Too Large", + "refId": "I" + }, + { + "expr": "dropped_full_queue_new_envelopes_total{node=\"10\"}", + "hide": false, + "legendFormat": "Full queue new", + "refId": "J" + }, + { + "expr": "dropped_full_queue_old_envelopes_total{node=\"10\"}", + "hide": false, + "legendFormat": "Full queue old", + "refId": "K" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Envelopes #10", + "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": 214 + }, + "id": 96, + "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=\"10\"}", + "intervalFactor": 1, + "legendFormat": "Connected Peers", + "refId": "A" + }, + { + "expr": "process_resident_memory_bytes{node=\"10\"}", + "interval": "", + "intervalFactor": 1, + "legendFormat": "RSS Memory", + "refId": "B" + }, + { + "expr": "rate(process_cpu_seconds_total{node=\"10\"}[15s]) * 100", + "legendFormat": "CPU usage %", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Node #10", + "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": 223 + }, + "id": 97, + "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=\"10\"}", + "legendFormat": "Maximum file descriptors", + "refId": "A" + }, + { + "expr": "process_open_fds{node=\"10\"}", + "legendFormat": "Open file descriptors", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "File Descriptors #10", + "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": 223 + }, + "id": 98, + "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=\"10\"}", + "legendFormat": "Nim GC total memory", + "refId": "A" + }, + { + "expr": "nim_gc_mem_occupied_bytes{node=\"10\"}", + "legendFormat": "Nim GC used memory", + "refId": "B" + }, + { + "expr": "process_resident_memory_bytes{node=\"10\"}", + "legendFormat": "RSS memory", + "refId": "C" + }, + { + "expr": "process_virtual_memory_bytes{node=\"10\"}", + "legendFormat": "Virtual memory", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory Usage #10", + "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": 231 + }, + "id": 99, + "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=\"11\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Connected Peers #11", + "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": 231 + }, + "id": 100, + "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=\"11\"}", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Valid Envelopes #11", + "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": 231 + }, + "id": 101, + "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=\"11\"} + dropped_from_future_envelopes_total{node=\"11\"} + dropped_low_pow_envelopes_total{node=\"11\"} + dropped_too_large_envelopes_total{node=\"11\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"11\"} + dropped_topic_mismatch_envelopes_total{node=\"11\"} +dropped_benign_duplicate_envelopes_total{node=\"11\"} + dropped_duplicate_envelopes_total{node=\"11\"}", + "legendFormat": "Invalid envelopes", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Invalid Envelopes #11", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 14, + "y": 231 + }, + "id": 102, + "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=\"11\"}[5s]) * 100", + "legendFormat": "CPU Usage", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage #11", + "type": "gauge" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 19, + "y": 231 + }, + "id": 103, + "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=\"11\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RSS Memory #11", + "type": "gauge" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 235 + }, + "id": 104, + "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=\"11\"}", + "hide": false, + "instant": false, + "legendFormat": "Valid", + "refId": "A" + }, + { + "expr": "dropped_benign_duplicate_envelopes_total{node=\"11\"}", + "hide": false, + "instant": false, + "legendFormat": "Benign duplicate", + "refId": "B" + }, + { + "expr": "dropped_duplicate_envelopes_total{node=\"11\"}", + "hide": false, + "legendFormat": "Duplicate", + "refId": "C" + }, + { + "expr": "dropped_expired_envelopes_total{node=\"11\"}", + "hide": false, + "legendFormat": "Expired", + "refId": "D" + }, + { + "expr": "dropped_from_future_envelopes_total{node=\"11\"}", + "hide": false, + "legendFormat": "Future timestamped", + "refId": "E" + }, + { + "expr": "dropped_low_pow_envelopes_total{node=\"11\"}", + "hide": false, + "legendFormat": "Too low PoW", + "refId": "F" + }, + { + "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"11\"}", + "hide": false, + "legendFormat": "Bloom filter mismatch", + "refId": "G" + }, + { + "expr": "dropped_topic_mismatch_envelopes_total{node=\"11\"}", + "hide": false, + "legendFormat": "Topic mismatch", + "refId": "H" + }, + { + "expr": "dropped_too_large_envelopes_total{node=\"11\"}", + "hide": false, + "legendFormat": "Too Large", + "refId": "I" + }, + { + "expr": "dropped_full_queue_new_envelopes_total{node=\"11\"}", + "hide": false, + "legendFormat": "Full queue new", + "refId": "J" + }, + { + "expr": "dropped_full_queue_old_envelopes_total{node=\"11\"}", + "hide": false, + "legendFormat": "Full queue old", + "refId": "K" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Envelopes #11", + "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": 235 + }, + "id": 105, + "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=\"11\"}", + "intervalFactor": 1, + "legendFormat": "Connected Peers", + "refId": "A" + }, + { + "expr": "process_resident_memory_bytes{node=\"11\"}", + "interval": "", + "intervalFactor": 1, + "legendFormat": "RSS Memory", + "refId": "B" + }, + { + "expr": "rate(process_cpu_seconds_total{node=\"11\"}[15s]) * 100", + "legendFormat": "CPU usage %", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Node #11", + "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": 244 + }, + "id": 106, + "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=\"11\"}", + "legendFormat": "Maximum file descriptors", + "refId": "A" + }, + { + "expr": "process_open_fds{node=\"11\"}", + "legendFormat": "Open file descriptors", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "File Descriptors #11", + "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": 244 + }, + "id": 107, + "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=\"11\"}", + "legendFormat": "Nim GC total memory", + "refId": "A" + }, + { + "expr": "nim_gc_mem_occupied_bytes{node=\"11\"}", + "legendFormat": "Nim GC used memory", + "refId": "B" + }, + { + "expr": "process_resident_memory_bytes{node=\"11\"}", + "legendFormat": "RSS memory", + "refId": "C" + }, + { + "expr": "process_virtual_memory_bytes{node=\"11\"}", + "legendFormat": "Virtual memory", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory Usage #11", + "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": 252 + }, + "id": 108, + "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=\"12\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Connected Peers #12", + "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": 252 + }, + "id": 109, + "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=\"12\"}", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Valid Envelopes #12", + "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": 252 + }, + "id": 110, + "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=\"12\"} + dropped_from_future_envelopes_total{node=\"12\"} + dropped_low_pow_envelopes_total{node=\"12\"} + dropped_too_large_envelopes_total{node=\"12\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"12\"} + dropped_topic_mismatch_envelopes_total{node=\"12\"} +dropped_benign_duplicate_envelopes_total{node=\"12\"} + dropped_duplicate_envelopes_total{node=\"12\"}", + "legendFormat": "Invalid envelopes", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Invalid Envelopes #12", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 14, + "y": 252 + }, + "id": 111, + "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=\"12\"}[5s]) * 100", + "legendFormat": "CPU Usage", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage #12", + "type": "gauge" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 19, + "y": 252 + }, + "id": 112, + "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=\"12\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RSS Memory #12", + "type": "gauge" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 256 + }, + "id": 113, + "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=\"12\"}", + "hide": false, + "instant": false, + "legendFormat": "Valid", + "refId": "A" + }, + { + "expr": "dropped_benign_duplicate_envelopes_total{node=\"12\"}", + "hide": false, + "instant": false, + "legendFormat": "Benign duplicate", + "refId": "B" + }, + { + "expr": "dropped_duplicate_envelopes_total{node=\"12\"}", + "hide": false, + "legendFormat": "Duplicate", + "refId": "C" + }, + { + "expr": "dropped_expired_envelopes_total{node=\"12\"}", + "hide": false, + "legendFormat": "Expired", + "refId": "D" + }, + { + "expr": "dropped_from_future_envelopes_total{node=\"12\"}", + "hide": false, + "legendFormat": "Future timestamped", + "refId": "E" + }, + { + "expr": "dropped_low_pow_envelopes_total{node=\"12\"}", + "hide": false, + "legendFormat": "Too low PoW", + "refId": "F" + }, + { + "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"12\"}", + "hide": false, + "legendFormat": "Bloom filter mismatch", + "refId": "G" + }, + { + "expr": "dropped_topic_mismatch_envelopes_total{node=\"12\"}", + "hide": false, + "legendFormat": "Topic mismatch", + "refId": "H" + }, + { + "expr": "dropped_too_large_envelopes_total{node=\"12\"}", + "hide": false, + "legendFormat": "Too Large", + "refId": "I" + }, + { + "expr": "dropped_full_queue_new_envelopes_total{node=\"12\"}", + "hide": false, + "legendFormat": "Full queue new", + "refId": "J" + }, + { + "expr": "dropped_full_queue_old_envelopes_total{node=\"12\"}", + "hide": false, + "legendFormat": "Full queue old", + "refId": "K" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Envelopes #12", + "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": 256 + }, + "id": 114, + "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=\"12\"}", + "intervalFactor": 1, + "legendFormat": "Connected Peers", + "refId": "A" + }, + { + "expr": "process_resident_memory_bytes{node=\"12\"}", + "interval": "", + "intervalFactor": 1, + "legendFormat": "RSS Memory", + "refId": "B" + }, + { + "expr": "rate(process_cpu_seconds_total{node=\"12\"}[15s]) * 100", + "legendFormat": "CPU usage %", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Node #12", + "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": 265 + }, + "id": 115, + "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=\"12\"}", + "legendFormat": "Maximum file descriptors", + "refId": "A" + }, + { + "expr": "process_open_fds{node=\"12\"}", + "legendFormat": "Open file descriptors", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "File Descriptors #12", + "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": 265 + }, + "id": 116, + "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=\"12\"}", + "legendFormat": "Nim GC total memory", + "refId": "A" + }, + { + "expr": "nim_gc_mem_occupied_bytes{node=\"12\"}", + "legendFormat": "Nim GC used memory", + "refId": "B" + }, + { + "expr": "process_resident_memory_bytes{node=\"12\"}", + "legendFormat": "RSS memory", + "refId": "C" + }, + { + "expr": "process_virtual_memory_bytes{node=\"12\"}", + "legendFormat": "Virtual memory", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory Usage #12", + "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": 273 + }, + "id": 117, + "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=\"13\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Connected Peers #13", + "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": 273 + }, + "id": 118, + "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=\"13\"}", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Valid Envelopes #13", + "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": 273 + }, + "id": 119, + "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=\"13\"} + dropped_from_future_envelopes_total{node=\"13\"} + dropped_low_pow_envelopes_total{node=\"13\"} + dropped_too_large_envelopes_total{node=\"13\"} + dropped_bloom_filter_mismatch_envelopes_total{node=\"13\"} + dropped_topic_mismatch_envelopes_total{node=\"13\"} +dropped_benign_duplicate_envelopes_total{node=\"13\"} + dropped_duplicate_envelopes_total{node=\"13\"}", + "legendFormat": "Invalid envelopes", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Invalid Envelopes #13", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 14, + "y": 273 + }, + "id": 120, + "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=\"13\"}[5s]) * 100", + "legendFormat": "CPU Usage", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage #13", + "type": "gauge" + }, + { + "datasource": null, + "gridPos": { + "h": 4, + "w": 5, + "x": 19, + "y": 273 + }, + "id": 121, + "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=\"13\"}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RSS Memory #13", + "type": "gauge" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 277 + }, + "id": 122, + "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=\"13\"}", + "hide": false, + "instant": false, + "legendFormat": "Valid", + "refId": "A" + }, + { + "expr": "dropped_benign_duplicate_envelopes_total{node=\"13\"}", + "hide": false, + "instant": false, + "legendFormat": "Benign duplicate", + "refId": "B" + }, + { + "expr": "dropped_duplicate_envelopes_total{node=\"13\"}", + "hide": false, + "legendFormat": "Duplicate", + "refId": "C" + }, + { + "expr": "dropped_expired_envelopes_total{node=\"13\"}", + "hide": false, + "legendFormat": "Expired", + "refId": "D" + }, + { + "expr": "dropped_from_future_envelopes_total{node=\"13\"}", + "hide": false, + "legendFormat": "Future timestamped", + "refId": "E" + }, + { + "expr": "dropped_low_pow_envelopes_total{node=\"13\"}", + "hide": false, + "legendFormat": "Too low PoW", + "refId": "F" + }, + { + "expr": "dropped_bloom_filter_mismatch_envelopes_total{node=\"13\"}", + "hide": false, + "legendFormat": "Bloom filter mismatch", + "refId": "G" + }, + { + "expr": "dropped_topic_mismatch_envelopes_total{node=\"13\"}", + "hide": false, + "legendFormat": "Topic mismatch", + "refId": "H" + }, + { + "expr": "dropped_too_large_envelopes_total{node=\"13\"}", + "hide": false, + "legendFormat": "Too Large", + "refId": "I" + }, + { + "expr": "dropped_full_queue_new_envelopes_total{node=\"13\"}", + "hide": false, + "legendFormat": "Full queue new", + "refId": "J" + }, + { + "expr": "dropped_full_queue_old_envelopes_total{node=\"13\"}", + "hide": false, + "legendFormat": "Full queue old", + "refId": "K" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Envelopes #13", + "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": 277 + }, + "id": 123, + "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=\"13\"}", + "intervalFactor": 1, + "legendFormat": "Connected Peers", + "refId": "A" + }, + { + "expr": "process_resident_memory_bytes{node=\"13\"}", + "interval": "", + "intervalFactor": 1, + "legendFormat": "RSS Memory", + "refId": "B" + }, + { + "expr": "rate(process_cpu_seconds_total{node=\"13\"}[15s]) * 100", + "legendFormat": "CPU usage %", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Waku Node #13", + "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": 286 + }, + "id": 124, + "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=\"13\"}", + "legendFormat": "Maximum file descriptors", + "refId": "A" + }, + { + "expr": "process_open_fds{node=\"13\"}", + "legendFormat": "Open file descriptors", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "File Descriptors #13", + "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": 286 + }, + "id": 125, + "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=\"13\"}", + "legendFormat": "Nim GC total memory", + "refId": "A" + }, + { + "expr": "nim_gc_mem_occupied_bytes{node=\"13\"}", + "legendFormat": "Nim GC used memory", + "refId": "B" + }, + { + "expr": "process_resident_memory_bytes{node=\"13\"}", + "legendFormat": "RSS memory", + "refId": "C" + }, + { + "expr": "process_virtual_memory_bytes{node=\"13\"}", + "legendFormat": "Virtual memory", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory Usage #13", + "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/nim.cfg b/waku/nim.cfg new file mode 100644 index 000000000..3d4181563 --- /dev/null +++ b/waku/nim.cfg @@ -0,0 +1,4 @@ +-d:chronicles_line_numbers +-d:"chronicles_runtime_filtering=on" +-d:nimDebugDlOpen + diff --git a/waku/quicksim.nim b/waku/quicksim.nim new file mode 100644 index 000000000..9b6e2a1ad --- /dev/null +++ b/waku/quicksim.nim @@ -0,0 +1,76 @@ +import + os, strformat, chronicles, json_rpc/[rpcclient, rpcserver], nimcrypto/sysrand, + eth/common as eth_common, eth/keys, eth/p2p/rlpx_protocols/waku_protocol, + ../nimbus/rpc/[hexstrings, rpc_types, waku], + options as what # TODO: Huh? Redefinition? + +from os import DirSep +from strutils import rsplit +template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0] + +const sigWakuPath = &"{sourceDir}{DirSep}rpc{DirSep}wakucallsigs.nim" +createRpcSigs(RpcHttpClient, sigWakuPath) + +const topicAmount = 100 + +let + trafficNode = newRpcHttpClient() + lightNode = newRpcHttpClient() + lightNode2 = newRpcHttpClient() + +waitFor lightNode.connect("localhost", Port(8545)) +waitFor lightNode2.connect("localhost", Port(8546)) +waitFor trafficNode.connect("localhost", Port(8548)) + +proc generateTopics(amount = topicAmount): seq[waku_protocol.Topic] = + var topic: waku_protocol.Topic + for i in 0.. 0: + for bootNode in bootNodes: + result.cmd &= "--bootnode:" & bootNode & " " + else: + result.cmd &= "--discovery:off" & " " + if staticNodes.len > 0: + for staticNode in staticNodes: + result.cmd &= "--staticnode:" & staticNode & " " + + result.master = master + result.enode = $enode + result.shift = shift + result.label = label + + debug "Node command created.", cmd=result.cmd + +proc starNetwork(amount: int): seq[NodeInfo] = + let masterNode = initNodeCmd(FullNode, portOffset, master = true, + label = "master node") + result.add(masterNode) + for i in 1.. 0: setBootNodes(config.bootnodes) + elif config.fleet == prod: setBootNodes(StatusBootNodes) + elif config.fleet == staging: setBootNodes(StatusBootNodesStaging) + elif config.fleet == test : setBootNodes(StatusBootNodesTest) + else: @[] + + traceAsyncErrors node.connectToNetwork(bootnodes, not config.noListen, + config.discovery) + + if not config.bootnodeOnly: + # Optionally direct connect with a set of nodes + if config.staticnodes.len > 0: connectToNodes(node, config.staticnodes) + elif config.fleet == prod: connectToNodes(node, WhisperNodes) + elif config.fleet == staging: connectToNodes(node, WhisperNodesStaging) + elif config.fleet == test: connectToNodes(node, WhisperNodesTest) + + if config.rpc: + let ta = initTAddress(config.rpcAddress, + Port(config.rpcPort + config.portsShift)) + var rpcServer = newRpcHttpServer([ta]) + let keys = newKeyStorage() + setupWakuRPC(node, keys, rpcServer) + setupWakuSimRPC(node, rpcServer) + rpcServer.start() + + when defined(insecure): + if config.metricsServer: + let + address = config.metricsServerAddress + port = config.metricsServerPort + config.portsShift + info "Starting metrics HTTP server", address, port + metrics.startHttpServer($address, Port(port)) + + if config.logMetrics: + proc logMetrics(udata: pointer) {.closure, gcsafe.} = + {.gcsafe.}: + let + connectedPeers = connected_peers.value + validEnvelopes = waku_protocol.valid_envelopes.value + invalidEnvelopes = waku_protocol.dropped_expired_envelopes.value + + waku_protocol.dropped_from_future_envelopes.value + + waku_protocol.dropped_low_pow_envelopes.value + + waku_protocol.dropped_too_large_envelopes.value + + waku_protocol.dropped_bloom_filter_mismatch_envelopes.value + + waku_protocol.dropped_topic_mismatch_envelopes.value + + waku_protocol.dropped_benign_duplicate_envelopes.value + + waku_protocol.dropped_duplicate_envelopes.value + + info "Node metrics", connectedPeers, validEnvelopes, invalidEnvelopes + addTimer(Moment.fromNow(2.seconds), logMetrics) + addTimer(Moment.fromNow(2.seconds), logMetrics) + + runForever() + +when isMainModule: + let conf = WakuNodeConf.load() + run(conf)