nodeping-exporter

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 8 Imported by: 0

README

NodePing exporter

Build Status Coverage Status Go Report Card

Get checks statistics from NodePing service API and expose it in prometheus format.

Configuration

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.

Exposed metrics

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

Run via Docker

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL