Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.43 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.43 KB

Qrator exporter

Build Status Coverage Status Go Report Card

Get statistics for all domains connected to account from Qrator API and expose it in prometheus format.

Configuration

Exporter configurates via environment variables:

Env var Description
QRATOR_CLIENT_ID Your client ID for qrator. Only digits required.
QRATOR_X_QRATOR_AUTH X-Qrator-Auth header for access to Qrator Api. It's not required if you use IP auth

Exporter listen on tcp-port 9502. Metrics available on /metrics path.

Exposed metrics

It returns all statistics that defined here.

Run via Docker

The latest release is automatically published to the Docker registry.

You can run it like this:

$ docker run -d --name qrator-exporter \
            -e QRATOR_CLIENT_ID=12345 \
            -e QRATOR_X_QRATOR_AUTH=12345abcdef \
            -p 9502:9502 \
            stupidscience/qrator-exporter