Prometheus Pusher to Atlassian Status Page
- Build
git clone git@github.com:cxnam/prometheus-pusher.git
cd prometheus-pusher
go get -u
go build
- Docker
docker pull namcx/prometheus-pusher
- Config
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
- Queries
Copy query example to queries.yaml
The prometheus expr needs to return a single element vector
Docs Prometheus query: QUERYING PROMETHEUS