Skip to content

Latest commit

 

History

History
130 lines (88 loc) · 5.26 KB

ReadmeEN.md

File metadata and controls

130 lines (88 loc) · 5.26 KB

Website | Discord | Telegram

100$ Credit Free VPS for 2 Months(DigitalOcean)

Clan Grafana Monitor Installation Guide

Prerequisites

Setup exporter to the server where your node is installed.

wget -O NodeistorExporter.sh https://raw.githubusercontent.com/Nodeist/Nodeistor/main/NodeistorExporter && chmod +x NodeistorExporter.sh && ./NodeistorExporter.sh

During the installation you will be asked for some information. These:

KEY VALUE
bond_denom Denom Value. For example uclan for Clan
bench_prefix Bench Prefix Value. For example clan for Clan. You can learn this value from your wallet address. Clanjcqum902je9zwevat7zqczskwd4lhwuj9vwgsu
grpc_port Your validator grpc port that is defined in app.toml file. Default value is 31090
rpc_port Your validator rpc port that is defined in config.toml file. Default value is 31657

Make sure the following ports are open on your server:

  • 9100 (node-exporter)
  • 9300 (cosmos-exporter)

Grafana Monitor Setup

We recommend installing the grafana monitor on a separate server so that you can track and analyze your authenticator properly. If your node stops, your server goes down etc. In such cases, you have the chance to follow the data. It does not require a huge system requirement. A system with the following specifications is sufficient for the monitor.

System requirements

Ubuntu 20.04 / 1 VCPU / 2 GB RAM / 20 GB SSD

Monitor Setup

You can complete the monitor setup by typing the following code on your new server.

wget -O NodeistMonitor.sh https://raw.githubusercontent.com/Nodeist/Nodeistor/main/NodeistMonitor && chmod +x NodeistMonitor.sh && ./NodeistMonitor.sh

Adding validator to Prometheus Configuration file.

You can use the code below multiple times for different networks. In other words, you can view the statistics of more than one validator on the same monitor. In order to do this, write the following code by revising it for each network you want to add.

$HOME/Nodeistor/ag_ekle.sh VALIDATOR_IP WALLET_ADDRESS VALOPER_ADDRESS PROJECT_NAME

Start Docker

Begin monitor deployment.

cd $HOME/Nodeistor && docker compose up -d

Ports used:

  • 9090 (prometheus)
  • 9999 (grafana)

Settings

Grafana configuration

  1. Open your web browser and enter your serveripaddress:9999 to reach the grafana interface.

image

  1. Your username and password are admin. After the first login, you will be asked to update your password.

  2. Import the Nodeistor.

3.1. Press the + icon from the left menu and click Import from the pop-up window.

image

3.2. Type grafana.com Control panel ID 16580. And press Load.

image

3.3. Select prometheus as the data source and press import.

image

  1. Explorer configuration

Normally the most missed block panel is based on nodes.guru explorer.

If you want to add a network that is not in nodes.guru explorer, you need to edit the most missed block tab.

This process is only valid for the 'most missed block ' tab and is not essential.

Click on the tab title and press edit.

image

4.1. Go to the Overrides tab.

image

4.2. Press the edit button in the datalink section.

image

4.3 Update the Explorer address and press the Save button.

image

4.4. Finally, press the Save button again from the upper right corner and then apply by pressing the Apply button.

  1. Congratulations! You have successfully installed and configured Nodeistor.

Clipboard content

The Grafana dashboard is divided into 4 sections:

  • Validator health - main statistics for verifier health. connected peers and missed blocks
  • Chain health - summary of chain health statistics and list of missing blocks of top validators
  • Validator statistics - information about the validator such as rank, limited coins, commission, delegations and rewards
  • Hardware health - system hardware metrics. cpu, ram, network usage

Reset Statistics

cd $HOME/Nodeistor
docker compose down
docker volume prune -f

Referance list

Resources used in this project: