alertmanager-webhook-proxy

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0

README ΒΆ

Alertmanager Webhook Proxy

CircleCI

A reverse proxy for the Prometheus AlertManager webhook notifier. This proxy service can take in a GoLang template to modify the payload for consumers that do not support the AlertManager webhook payload.

Build

$ go build -o awp ./cmd/main.go

Usage

$ ./awp -address=":8080" -target="http://my.consumer.io" -template="./template.txt"
Command Flag Default Description
-address :8080 Server bind address
-target http://localhost:8090 Target URL
-template /tmp/awp/template.txt