Get checks statistics from NodePing service API and expose it in prometheus format.
Exporter configurates via environment variables:
Env var | Description |
---|---|
NODEPING_TOKEN | Authorization token for access to NodePing API |
Exporter listen on tcp-port 9503. Metrics available on /metrics
path.
Metric | Labels | Descrpition |
---|---|---|
nodeping_check_up | label, target, type | Current check status: 1 - for up, 0 - for down |
nodeping_check_duration_seconds | label, target, type | Last check duration in seconds |
The latest release is automatically published to the Docker registry.
You can run it like this:
$ docker run -d --name nodeping-exporter \
-e NODEPING_TOKEN=12345abcdef \
-p 9503:9503 \
stupidscience/nodeping-exporter