Metrics of Performance Testing
At Nym as well as several core community operators had setup metrics monitors for a clear overview of node performance.
It is beneficial for a one time event or a limited period to connect nodes to the existing monitoring infrastructure system that Nym developers built to collect useful metrics. For the purpose of maximal privacy and decentralisation of the data - preventing Nym Mixnet from any global adversary takeover - we created these pages as a source of mutual empowerment, a place where operators can share and learn new skills to setup metrics monitors on their own infrastructure.
Collecting Testing Metrics
For the purpose of the performance testing Nym core developers plan to run instances of Prometheus and Grafana connected to Node explorer in the house. The network overall key insights we seek from these tests are primarily internal. We’re focused on pinpointing bottlenecks, capacity loads, and monitoring cpu usage on the nodes’ machines.
Guides to Setup Own Metrics
A list of different scripts, templates and guides for easier navigation:
- Prometheus and Grafana self-hosted setup
- Nym-node CPU cron service - an easy bash script by Nym core developer @tommy1987, designed to monitor a CPU usage of your node, running locally
- Nym’s script
prom_targets.py
- a useful python program to request data from API and can be run on its own or plugged to more sophisticated flows