Tendermint exporter for Prometheus
docker pull dmi7ry/tendermint-prometheus-exporter:latestSee DockerHub Image
docker run -d -—name tendermint-exporter --rm \
-p 9697:9697 \
dmi7ry/tendermint-prometheus-exporter:latest \
serve [--port N] [--timeout N] \
[--target scrape_url_1 [--status|--no-status] [--net-info|--no-net-info] [--candidates|--no-candidates] --]
[--target scrape_url_2 [--status|--no-status] [--net-info|--no-net-info] [--candidates|--no-candidates] --]docker run -d -—name tendermint-exporter --rm \
-p 9697:9697 \
dmi7ry/tendermint-prometheus-exporter:latest \
serve --port 9697 --timeout 5000 \
--target https://api.minter.one --status --net-info --candidates --
--target http://my-host:8841 --status --net-info --Requirement: Just
just build-cor
just build-nc| flag name | defaults | description |
|---|---|---|
| port | 9697 | port to listen at (should be exposed with -p arg) |
| timeout | 1000 | max response time to exporter waiting for in milliseconds |
| target | null | API url to scrape (port for Minter = 8841, for Cosmos = 26657) |
| status or no-status | false | enable scrape for /status url |
| net-info or no-net-info | false | enable scrape for /net_info url |
| candidates or no-candidates | false | enable scrape for /candidates url |
each target should be denoted with double dash after defenition (see docker run)
You can install & setup full stack just in one script
git clone https://github.com/dmitry-ee/tendermint-prometheus-exporter.git
cd tendermint-prometheus-exporter/provision/then run:
./provision-with-node.shfor deploy Minter-Node (with enabled Prometheus), Exporter, Grafana (with Dashboard) and Prometheus./provision-simply.shfor deploy only Exporter, Grafana (with Dashboard) and Prometheus
See provision with node and provision simply
Check & Set Minter API urls here or here
For manual dashboard import see Grafana Dashboard)
Supported urls:
- /status enables with
--statusflag - /net_info enables with
--net-infoflag - /candidates enables with
--candidatesflag
here (importable via Import Dashboard)
NOTE: Cosmos is not supported yet
Supported urls:
- /net_info enables with
--net-infoflag
BIP: Mx65bb9548ecde11e10cd823e365fd2fb0f4f03b25

