git clone [email protected]:cxnam/prometheus-pusher.git
cd prometheus-pusher
go get -u
go build
docker pull namcx/prometheus-pusher
Copy example to config.yaml
Or use Env
SYSTEMMETRIC__PROM_URL: https://localhost
SYSTEMMETRIC__PAGE_URL: https://api.statuspage.io
SYSTEMMETRIC__PAGE_TOKEN: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxe6ad2a
SYSTEMMETRIC__PAGE_ID: xxxxxxxxx826
Copy query example to queries.yaml
The prometheus expr needs to return a single element vector
Docs Prometheus query: QUERYING PROMETHEUS
Content type
Image
Digest
Size
9.4 MB
Last updated
over 6 years ago
docker pull namcx/prometheus-pusher