Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 1.44 KB

README.md

File metadata and controls

55 lines (45 loc) · 1.44 KB

Cosmos-IE

CreatePlan CreatePlan CreatePlan
Integrated Exporter for CosmosSDK

Introduction

This Prometheus exporter is for monitoring information which is not provided from Tendermint’s basic Prometheus exporter(localhost:26660)

List of supported chains

Cosmos(cosmoshub-4), IRISnet(irishub-1), BandProtocol-testnet(band-laozi-testnet1), Terra(bombay), Starname(iov-mainnet-ibc), Certik(shentu-2), Rizon(titan-1)

Install

cd $HOME
git clone https://github.com/node-a-team/Cosmos-IE.git
cd $HOME/Cosmos-IE

go build

./Cosmos-IE version
## Cosmos-IE v3.0.8

Service(ex: cosmos)

  • --chain string: Chain name of the monitoring node(cosmos | iris | band | terra | starname)
## Create a systemd service
sudo tee /etc/systemd/system/Cosmos-IE.service > /dev/null <<EOF
[Unit]
Description=Integrated Exporter for CosmosSDK
After=network-online.target

[Service]
User=${USER}
ExecStart=$HOME/Cosmos-IE/Cosmos-IE run \
  --chain "cosmos" \
  --oper-addr "cosmosvaloper14l0fp639yudfl46zauvv8rkzjgd4u0zk2aseys"
Restart=always
RestartSec=3
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=Cosmos-IE

[Install]
WantedBy=multi-user.target
EOF

## Start service
sudo systemctl enable Cosmos-IE
sudo systemctl start Cosmos-IE

## log
journalctl -f -u Cosmos-IE.service