Sign inSign up

dmi7ry/tendermint-prometheus-exporter

By dmi7ry

•Updated about 6 years ago

Tendermint Blockchain exporter for Prometheus

Image
0

4.2K

dmi7ry/tendermint-prometheus-exporter repository overview

⁠Tendermint Exporter

Build Status Build Status Language Version Coverage Status Build Automation Image Pulls

Tendermint exporter for Prometheus

⁠Table of Contents

⁠Download

docker pull dmi7ry/tendermint-prometheus-exporter:latest

See DockerHub Image⁠

⁠Run

⁠docker run
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 scrape_url [--status|--no-status] [--net-info|--no-net-info] [--candidates|--no-candidates] --]
⁠docker-compose

See docker-compose.yml⁠

⁠Manual Build

Requirement: Just⁠

just build-c

or

just build-nc

⁠Flags

flag namedefaultsdescription
port9697port to listen at (should be exposed with -p arg)
timeout1000max response time to exporter waiting for in milliseconds
targetnullapi url to scrape (for Minter it's a port 8841)
status or no-statusfalseenable scrape for /status url
net-info or no-net-infofalseenable scrape for /net_info url
candidates or no-candidatesfalseenable scrape for /candidates url
⁠NOTE

each target should be denoted with double dash after defenition (see docker run⁠)

⁠Minter Auto Provision

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/
./provision

See provision script⁠

It will install:

  • Minter Node (with enabled prometheus)
  • Tendermint Prometheus Exporter
  • Prometheus
  • Grafana
  • Grafana datasource & dashboard (for manual import see Grafana Dashboard⁠)

⁠Supported Blockchains

⁠Minter

Supported urls:

  • /status enables with --status flag
  • /net_info enables with --net-info flag
  • /candidates enables with --candidates flag
⁠Grafana Dashboard

here⁠ (importable via Import Dashboard)

⁠Metrics Sample

here⁠

⁠Cosmos

Supported urls:

  • /net_info enables with --net-info flag
⁠Metrics Sample

NOTE: Cosmos is not fully supported yet

here⁠

⁠Preview

Dashboard Preview

⁠Donate

BIP: Mx65bb9548ecde11e10cd823e365fd2fb0f4f03b25

QR

Tag summary

Content type

Image

Digest

Size

21.3 MB

Last updated

about 6 years ago

docker pull dmi7ry/tendermint-prometheus-exporter