Skip to content

StupidScience/qrator-exporter

Repository files navigation

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

About

Prometheus exporter for Qrator statistics

Resources

License

Stars

Watchers

Forks

Packages

No packages published