Sign inSign up

namcx/prometheus-pusher

By namcx

•Updated over 6 years ago

Image
0

174

namcx/prometheus-pusher repository overview

⁠Prometheus Pusher to Atlassian Status Page⁠

⁠How to?

  • Build
git clone [email protected]: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⁠

Tag summary

Content type

Image

Digest

Size

9.4 MB

Last updated

over 6 years ago

docker pull namcx/prometheus-pusher