prometheus-statuspage-pusher

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 18 Imported by: 0

README

prometheus-statuspage-pusher

Usage

Usage of ./prometheus-statuspage-pusher:
  -c string
    	Query config file (default "queries.yaml")
  -i duration
    	Metric push interval (default 30s)
  -pu string
    	URL of Prometheus API (default "http://localhost:9091/prometheus")
  -si string
    	Statuspage page ID
  -st string
    	Statuspage Oauth token (defaults to value of STATUSPAGE_TOKEN environment variable)
  -su string
    	URL of Statuspage API (default "https://api.statuspage.io")

Config:

Syntax:

metricID: prometheus-expression

The prometheus-expression needs to return a single element vector, like:

abcdef: avg(up{job="web"})

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL