EOSMON – monitoring EOS, TELOS, BOS, MEETONE using Node Exporter, Prometheus and Grafana

30 OCT 2019
2 min read
Company News
BOS
BOS core
eos
EOSIO
grafana
MEETONE
monitoring
network stats
node
on-chain analysis
prometheus
stats
Tech Guide
tool
2 min read
Article content

Both exporter and the template (Prometheus/Grafana) are public and they demonstrate a possibility to display basic metrics of EOS-like networks such as EOS, TELOS, BOS, MEETONE. Thus, the metrics exporter should be installed and launched for every single network. It’s also planned to expand the number of chain specific metrics so that we can have a detailed and complete picture of each ecosystem. In this regard, contributions to our GitHub repository is much welcomed!

At the moment we are working on basic metrics for Cyberway and Worbli.

Requirements:

  1. Node exporter
  2. Prometheus
  3. Grafana

Step 1: Start Node Exporter with collector.textfile.directory

Create directory:

mkdir -p /var/lib/node_exporter/textfile_collector

chown node_exporter:node_exporter /var/lib/node_exporter/textfile_collector

Change the service file:

vim /etc/systemd/system/node_exporter.service 
[Unit]
Description=Node Exporter
Wants=network-online.target
After=network-online.target

[Service]
User=node_exporter
Group=node_exporter
Type=simple
ExecStart=/usr/local/bin/node_exporter --collector.textfile.directory /var/lib/node_exporter/textfile_collector

[Install]
WantedBy=multi-user.target

Step 2: Start script eos_exporter.sh

This script collects metrics to a text file. You need to set variables in eos_exporter.sh. You can use the supervisor to start this script. To check Node Exporter use curl http://localhost:9100/metrics.
To get metrics for other cryptocurrencies you need to create other scripts. For example bos_exporter.sh.

Step 3: Import template to Grafana

You can import template Nodes_metrics.json to Grafana using standard import procedure.

***

Follow news and updates from Everstake by subscribing to the newsletter on our website and join the discussion on our social channels through the links below.
Website: everstake.one
Twitter: @Everstake_pool
Telegram: @Everstake_chat
Facebook: fb.me/everstake.one
Reddit: /r/Everstake/
Medium: medium.com/everstake

Dark - Light
Everstake Logo
Everstake
Content Manager
Everstake is the world's leading validator, with 735,000+ delegators across 77 blockchain networks. We stake $4.8 billion in assets and provide best-in-class staking services to institutional and retail clients.

Contact us

Have questions?
We’re always there to answer!

contact us
Our distributed team of 20+ community managers is online 24/7 and is ready to assist you.
quote avatar

We’d love to hear your thoughts.

Your opinion matters. Share any concerns, issues, or suggestions you may have with us so that Everstake could work on them, and your experience could improve.
Give FEEDBACK