Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhangyelong/cosmos-dashboard
A Grafana dashboard compatible with all the cosmos-sdk and tendermint based blockchains.
https://github.com/zhangyelong/cosmos-dashboard
Last synced: 3 months ago
JSON representation
A Grafana dashboard compatible with all the cosmos-sdk and tendermint based blockchains.
- Host: GitHub
- URL: https://github.com/zhangyelong/cosmos-dashboard
- Owner: zhangyelong
- License: apache-2.0
- Created: 2019-10-24T06:33:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T09:44:34.000Z (over 5 years ago)
- Last Synced: 2024-01-24T04:15:07.983Z (about 1 year ago)
- Size: 381 KB
- Stars: 34
- Watchers: 3
- Forks: 30
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - zhangyelong/cosmos-dashboard - A Grafana dashboard compatible with all the cosmos-sdk and tendermint based blockchains. (Misc)
- awesome-cosmos - Cosmos Chains Dashboard - A Grafana dashboard to monitor Cosmos SDK and Tendermint-based blockchain nodes. (Monitoring / Terminal Block Explorers)
README
# Cosmos Chains Dashboard
A [Grafana](https://grafana.com/) dashboard compatible with all the [cosmos-sdk](https://github.com/cosmos/cosmos-sdk) and [tendermint](https://github.com/tendermint/tendermint) based blockchains.
## Preview
![1](imgs/cosmos-overview.jpg)
![2](imgs/irishub-overview.jpg)
![3](imgs/instance-overview.jpg)## How To
We assume that you already have [Grafana](https://grafana.com/) and [Prometheus](https://prometheus.io/) installed.
### Enable Tendermint Metrics
```bash
sed -i 's/prometheus = false/prometheus = true/g' /config/config.toml
```After restarting your node, you should be able to access the tendermint metrics(default port is 26660):
### Configure Prometheus Targets
Append a `job` under the `scrape_configs` of your prometheus.yml
```yaml
- job_name: irishub
static_configs:
- targets: [':26660']
labels:
instance: validator
- targets: [':26660']
labels:
instance: sentry-0
- targets: [':26660']
labels:
instance: sentry-1
```Reload prometheus config
```bash
curl -X POST http://:9090/-/reload
```### Import Grafana Dashboard
Copy and paste the [Grafana Dashboard ID](https://grafana.com/grafana/dashboards/11036) `11036` OR content of [cosmos-dashboard.json](cosmos-dashboard.json), click on `Load` to complete importing.
![import](imgs/import.jpg)