Go to file
Leopold Schabel 77945ffe3e
Add LICENSE
2021-03-28 23:04:16 +02:00
.gitignore initial commit 2019-09-19 21:07:21 +02:00
Dockerfile Fix certificate authorities 2020-01-25 23:45:16 +01:00
LICENSE Add LICENSE 2021-03-28 23:04:16 +02:00
Makefile Prepare for open-source release 2020-01-25 23:11:27 +01:00
README.md Prepare for open-source release 2020-01-25 23:11:27 +01:00
go.mod update to tendermint v0.34.0 2020-10-03 21:48:46 +02:00
go.sum update to tendermint v0.34.0 2020-10-03 21:48:46 +02:00
main.go update to tendermint v0.34.0 2020-10-03 21:48:46 +02:00

README.md

Tendermint block miss exporter

This prometheus exporter watches a tendermint node and counts the blocks missed by a specific validator.

The tm_mon_misses starts from zero and is incremented every time the specified validator misses a block.

In order to track whether the exporter is not stuck it also exposes the last processed height as tm_mon_height

How to build

Running make build will build artifacts to bin.

The Dockerfile can also be used to build a container.

We provide a prebuilt container image on DockerHub: certusone/tm_exporter

Configuration

The configuration needs to be passed in via the environment.

Name Description
LADDR Listening address (e.g. :8080)
RPC RPC address of the tendermint node to use for monitoring
ADDRESS The hex consensus address of the validator that should be monitored

Error handling

In case of errors during startup the program will panic. Errors during runtime are printed to the console and might lead to the exporter not processing blocks. This will be visible in prometheus as tm_mon_height will stop increasing.