Monitoring Your NYM Mixnode Node With Grafana Stack

RoomIT
19 min readDec 22, 2023

--

Monitoring NYM Mixnode with Grafana, Prometheus and Telegraf

We assume you had been running well with your mixnode service nym.

Spesifications
- OS : Ubuntu 22.04 | Telegraf Version 1.29.1 | Prometheus Version 2.48.0 | Grafana Version 10
- Spesification Minimal 2vcpu 4GB 30GB

Telegraf

Install telegraf in Your Node, telegraf is tleemetrics for collect data and send to prometheus.

curl -s https://repos.influxdata.com/influxdata-archive.key > influxdata-archive.key
echo '943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515 influxdata-archive.key' | sha256sum -c && cat influxdata-archive.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive.gpg > /dev/null
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
sudo apt-get update && sudo apt-get install telegraf

Configure your main telegraf. create file in /etc/telegraf/telegraf.conf

[global_tags]

[agent]
interval = "1m"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = "0s"


[[outputs.prometheus_client]]
listen = "0.0.0.0:9273"
path = "/metrics"
metric_version = 2
expiration_interval = "60s"

Configure For collect your Resource by telegraf. create file in /etc/telegraf/telegraf.d/resource.conf

[[inputs.socketstat]]
protocols = [ "tcp", "udp" ]
[[inputs.cpu]]
percpu = true
totalcpu = true
collect_cpu_time = false
report_active = false
[[inputs.disk]]
ignore_fs = ["tmpfs", "devtmpfs", "devfs"]
[[inputs.io]]
[[inputs.mem]]
[[inputs.net]]
interfaces = ["eth*", "enp0s[0-1]", "ens*", "lo","wg0","enp0s31f6.4000"]
[[inputs.system]]
[[inputs.swap]]
[[inputs.netstat]]
[[inputs.processes]]
[[inputs.kernel]]

Configure For collect your mixnode by telegraf. create file in /etc/telegraf/telegraf.d/nym.conf

#### STATUS SERVER
[[inputs.http]]
urls = ["http://YOUR_HOSTS:8000/stats"]
interval = "1m"
data_format = "json_v2"
name_suffix = "_nymcollector"
[inputs.http.tags]
mixnode = "YOUR_IDENTITY_KEY"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "packets_received_since_startup"
rename = "packets_received_since_startup"
type="int"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "packets_sent_since_startup"
rename = "packets_sent_since_startup"
type="int"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "packets_explicitly_dropped_since_startup"
rename = "packets_explicitly_dropped_since_startup"
type="int"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "packets_received_since_last_update"
rename = "packets_received_since_last_update"
type="int"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "packets_sent_since_last_update"
rename = "packets_sent_since_last_update"
type="int"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "packets_explicitly_dropped_since_last_update"
rename = "packets_explicitly_dropped_since_last_update"
type="int"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "update_time"
rename = "update_time"


[[inputs.http]]
urls = ["https://validator.nymtech.net/api/v1/status/mixnode/YOUR_ID_NODE/reward-estimation"]
interval = "1m"
data_format = "json_v2"
name_suffix = "_nymcollector"
[inputs.http.tags]
mixnode = "YOUR_IDENTITY_KEY"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "estimation.total_node_reward"
rename = "estimated_total_node_reward"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "estimation.operator"
rename = "estimated_operator_reward"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "estimation.delegates"
rename ="estimated_delegators_reward"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "reward_params.interval.reward_pool"
rename ="rewardparams_interval_reward_pool"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "reward_params.interval.staking_supply"
rename ="rewardparams_interval_staking_supply"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "reward_params.interval.staking_supply_scale_factor"
rename ="rewardparams_interval_staking_supply_scale_factor"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "reward_params.interval.epoch_reward_budget"
rename ="rewardparams_interval_epoch_reward_budget"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "reward_params.interval.sybil_resistance"
rename ="rewardparams_interval_sybil_resistance"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "reward_params.interval.active_set_work_factor"
rename ="rewardparams_interval_active_set_work_factor"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "reward_params.interval.interval_pool_emission"
rename ="rewardparams_interval_interval_pool_emission"
type = "float"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "epoch.id"
rename ="epoch_id"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "epoch.epochs_in_interval"
rename ="epoch_epochs_in_interval"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "epoch.current_epoch_start"
rename ="epoch_current_epoch_start"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "epoch.current_epoch_id"
rename ="epoch_current_epoch_id"



[[inputs.http]]
urls = ["https://validator.nymtech.net/api/v1/status/mixnode/YOUR_ID_NODE/report"]
interval = "1m"
data_format = "json_v2"
name_suffix = "_nymcollector"
[inputs.http.tags]
mixnode = "YOUR_IDENTITY_KEY"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "most_recent"
rename = "most_recent"
type = "int"
[[inputs.http.json_v2.field]]
path = "last_hour"
rename = "last_hour"
type = "int"
[[inputs.http.json_v2.field]]
path = "last_day"
rename = "last_day"
type = "int"



[[inputs.http]]
urls = ["https://validator.nymtech.net/api/v1/status/mixnode/YOUR_ID_NODE/avg_uptime"]
interval = "1m"
data_format = "json_v2"
name_suffix = "_nymcollector"
[inputs.http.tags]
mixnode = "YOUR_IDENTITY_KEY"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "avg_uptime"
rename = "node_uptime"


[[inputs.http]]
urls = ["https://validator.nymtech.net/api/v1/status/mixnode/YOUR_ID_NODE/status"]
interval = "1m"
data_format = "json_v2"
name_suffix = "_nymcollector"
[inputs.http.tags]
mixnode = "YOUR_IDENTITY_KEY"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "status"
rename = "node_status"


[[inputs.http]]
urls = ["https://mixnet.api.explorers.guru/api/mixnodes/YOUR_IDENTITY_KEY"]
interval = "1m"
data_format = "json_v2"
name_suffix = "_nymcollector"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.host"
rename = "mixnode_host"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.mix_port"
rename = "mixnode_mix_port"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.verloc_port"
rename = "mixnode_verloc_port"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.http_api_port"
rename = "mixnode_http_api_port"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.sphinx_key"
rename = "mixnode_sphinx_key"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.identity_key"
rename = "mixnode_identity_key"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.version"
rename = "mixnode_version"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.mix_id"
rename = "mixnode_mix_id"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.owner"
rename = "mixnode_owner"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.layer"
rename = "mixnode_layer"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.proxy"
rename = "mixnode_proxy"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.bonding_height"
rename = "mixnode_bonding_height"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.is_unbonding"
rename = "mixnode_is_unbonding"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.in_active"
rename = "mixnode_in_active"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.in_reserve"
rename = "mixnode_in_reserve"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.uptime"
rename = "mixnode_uptime"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.status"
rename = "mixnode_status"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.saturation"
rename = "mixnode_saturation"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.profit_margin"
rename = "mixnode_profit_margin"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.pledge_amount.amount"
rename = "mixnode_pledge_amount"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.total_delegation.amount"
rename = "mixnode_total_delegation"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.operating_cost.amount"
rename = "mixnode_operating_cost"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "mixnode.unique_delegations"
rename = "mixnode_unique_delegations"

[[inputs.http]]
urls = ["https://validator.nymtech.net/api/v1/status/mixnode/YOUR_ID_NODE/stake-saturation"]
interval = "1m"
data_format = "json_v2"
name_suffix = "_nymcollector"
[[inputs.http.json_v2]]
[[inputs.http.json_v2.field]]
path = "saturation"
rename = "saturation"
type = "float"

Change variable :

YOUR_HOSTS with your IP Local or IP Public
YOUR_IDENTITY_KEY with Identity Key like (AGaXYrtedaZcAYUE7aUzngeYGrBgdddddsdfx)
YOUR_ID_NODE with YOUR MIX ID like 248

Now validate the config

telegraf --config /etc/telegraf/telegraf.conf --test
telegraf --config /etc/telegraf/telegraf.d/nym.conf --test
telegraf --config /etc/telegraf/telegraf.d/resource.conf --test

If OK, Start service

# systemctl restart telegraf

Grafana and Prometheus

Installation grafana and prometheus, please refer to https://docs.roomit.xyz/monitoring/install-monitoring-stack.

Configure Prometheus in /etc/prometheus/proemetheus.yml, add configuration :

......

### TELEGRAF
- job_name: "Hosts"
metrics_path: '/metrics'
static_configs:
- targets:
- "YourHOST:9273"

.....

Restart Prometheus

# systemctl restart prometheus

Configure Grafana Visual, import this json

{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "annolist",
"name": "Annotations list",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "10.2.2"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [
{
"asDropdown": true,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [],
"targetBlank": false,
"title": "Other Dashboard",
"tooltip": "",
"type": "dashboards",
"url": ""
}
],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 8,
"panels": [],
"title": "NYM Blockchain",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "text",
"value": null
},
{
"color": "dark-red",
"value": 0
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 0,
"y": 1
},
"id": 20,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum by(mixnode) (http_nymcollector_mixnode_uptime)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Uptime Packets",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "dark-purple",
"index": 1,
"text": "Active"
},
"1": {
"color": "dark-red",
"index": 0,
"text": "Deactive"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
},
{
"color": "semi-dark-blue",
"value": 1
},
{
"color": "blue",
"value": 2
},
{
"color": "light-blue",
"value": 3
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 2,
"y": 1
},
"id": 48,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 50,
"valueSize": 38
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "http_nymcollector_epoch_current_epoch_id",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Epoch",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "dark-red",
"index": 0,
"text": "Inactive"
}
},
"type": "value"
},
{
"options": {
"from": 1,
"result": {
"color": "dark-blue",
"index": 1,
"text": "Active"
},
"to": 1000000
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 4,
"y": 1
},
"id": 42,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "http_nymcollector_packets_received_since_last_update",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Status",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-YlBl"
},
"mappings": [],
"max": 3,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
},
{
"color": "#ff00a0",
"value": 1
},
{
"color": "blue",
"value": 2
},
{
"color": "light-blue",
"value": 3
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 6,
"y": 1
},
"id": 41,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 30
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_mixnode_layer)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Layer",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-YlBl"
},
"mappings": [],
"max": 3,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
},
{
"color": "#ff00a0",
"value": 1
},
{
"color": "blue",
"value": 2
},
{
"color": "light-blue",
"value": 3
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 8,
"y": 1
},
"id": 50,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 30
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_mixnode_mix_id)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Id",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "dark-green",
"index": 0,
"text": "OK"
}
},
"type": "value"
},
{
"options": {
"from": 1,
"result": {
"color": "dark-red",
"index": 1,
"text": "NOK"
},
"to": 10000
},
"type": "range"
}
],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 10,
"y": 1
},
"id": 24,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 9,
"valueSize": 30
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_packets_explicitly_dropped_since_last_update)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Last Update Drop Packet",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 12,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"pointSize": 8,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "sum by(mixnode) (http_nymcollector_mixnode_uptime{group=\"nym\"})"
},
"properties": [
{
"id": "displayName",
"value": "Uptime Packet"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 4,
"x": 13,
"y": 1
},
"id": 25,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_mixnode_uptime)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Uptime Packets Current",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 17,
"y": 1
},
"id": 51,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 30,
"valueSize": 30
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_last_day)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "1 Days Packet",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "Rewards",
"axisPlacement": "right",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 12,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"pointSize": 8,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 5,
"x": 19,
"y": 1
},
"id": 49,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "http_nymcollector_estimated_total_node_reward / 1000000",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "http_nymcollector_estimated_operator_reward{group=\"nym\", rewards=\"rewards-estimation\"} / 1000000",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "http_nymcollector_estimated_delegators_reward{group=\"nym\", rewards=\"rewards-estimation\"} / 1000000",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "C"
}
],
"title": "Reward Live",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 6,
"x": 0,
"y": 5
},
"id": 44,
"options": {
"limit": 10,
"navigateAfter": "10m",
"navigateBefore": "10m",
"navigateToPanel": true,
"onlyFromThisDashboard": false,
"onlyInTimeRange": false,
"showTags": true,
"showTime": true,
"showUser": true
},
"title": "PORT",
"type": "annolist"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#00ffd77a",
"value": 0
},
{
"color": "dark-green",
"value": 90
},
{
"color": "dark-red",
"value": 100
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 6,
"y": 5
},
"id": 36,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 1
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_saturation) * 100",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Saturation",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "dark-green",
"index": 0,
"text": "OK"
}
},
"type": "value"
},
{
"options": {
"from": 1,
"result": {
"color": "dark-red",
"index": 1,
"text": "NOK"
},
"to": 10000
},
"type": "range"
}
],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 9,
"y": 5
},
"id": 45,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 12,
"valueSize": 30
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_packets_explicitly_dropped_since_startup)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Startup Update Drop Packet",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-YlRd"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 17,
"y": 5
},
"id": 52,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 30,
"valueSize": 30
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_last_hour)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "1 Hour Packet",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-purple",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 0,
"y": 6
},
"id": 38,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_mixnode_http_api_port)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "API Port",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "text",
"value": null
},
{
"color": "dark-blue",
"value": 0
},
{
"color": "semi-dark-red",
"value": 50
},
{
"color": "#EAB839",
"value": 60
},
{
"color": "super-light-yellow",
"value": 70
},
{
"color": "super-light-orange",
"value": 80
},
{
"color": "light-green",
"value": 90
},
{
"color": "green",
"value": 93
},
{
"color": "semi-dark-green",
"value": 96
},
{
"color": "dark-green",
"value": 100
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 2,
"y": 6
},
"id": 39,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_mixnode_mix_port)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Mixnode Port",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "text",
"value": null
},
{
"color": "dark-yellow",
"value": 0
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 4,
"y": 6
},
"id": 40,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_mixnode_verloc_port)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Verloc Port",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 37,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 9,
"x": 0,
"y": 9
},
"id": 22,
"options": {
"legend": {
"calcs": [
"count",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(mixnode) (http_nymcollector_packets_received_since_startup)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Last Update Recieved Sinced Startup",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-YlRd"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 37,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 3,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 9,
"x": 9,
"y": 9
},
"id": 23,
"options": {
"legend": {
"calcs": [
"count",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(mixnode) (http_nymcollector_packets_sent_since_startup)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Last Update Sent Sinced Startup",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "No Packet Recieved",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#1a1a96",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 9
},
"id": 19,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(mixnode) (http_nymcollector_packets_sent_since_startup)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Last Update Sent Startup",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 13
},
"id": 47,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(mixnode) (http_nymcollector_packets_received_since_startup)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Last Update Recieved Startup",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisGridShow": false,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-orange",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 9,
"x": 0,
"y": 17
},
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_packets_received_since_last_update)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Last Update Recieved Since Last Update",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlPu"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisGridShow": false,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-orange",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 9,
"x": 9,
"y": 17
},
"id": 27,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_packets_sent_since_last_update)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Last Update Sent Since Last Update",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "No Packet Recieved",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#1a1a96",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 17
},
"id": 46,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_packets_sent_since_last_update)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Last Update Sent Since Last Update",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 21
},
"id": 17,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(mixnode) (http_nymcollector_packets_received_since_last_update)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Packet Last Update Recieved Since Last Update",
"type": "stat"
}
],
"refresh": "",
"schemaVersion": 38,
"tags": [
"nym",
"mainnet",
"tendermint"
],
"templating": {
"list": [
{
"auto": false,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"text": "1m",
"value": "1m"
},
"hide": 0,
"label": "Interval",
"name": "interval",
"options": [
{
"selected": true,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
},
{
"selected": false,
"text": "30m",
"value": "30m"
},
{
"selected": false,
"text": "1h",
"value": "1h"
},
{
"selected": false,
"text": "6h",
"value": "6h"
},
{
"selected": false,
"text": "12h",
"value": "12h"
},
{
"selected": false,
"text": "1d",
"value": "1d"
},
{
"selected": false,
"text": "7d",
"value": "7d"
},
{
"selected": false,
"text": "14d",
"value": "14d"
},
{
"selected": false,
"text": "30d",
"value": "30d"
}
],
"query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
"queryValue": "",
"refresh": 2,
"skipUrlSync": false,
"type": "interval"
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "RoomIT | NYM Mixnode",
"uid": "B9enSbe7k",
"version": 4,
"weekStart": ""
}

--

--

RoomIT

We write around -> Blockchain | DevOps | Security | Sysadmin