Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.65 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.65 KB

Actions Status Coverage Status Go Report Card

Alertmanager Delivery

The missing template rendering for Alertmanager webhook receivers.

The Prometheus developers are "not actively adding new receivers" for Alertmanager, and recommend implementing custom notification integrations via the webhook receiver. This project helps connecting Alertmanger with any webhook servers, in any format you want. The Delivery works between Alertmanager and downstream webhook servers, transforms messages from the Alertmanger as defined in the templates, and deliveries them to the downstream.

Run an example server

start an echo server as the downstream

$ docker run -p 5678:5678 --rm hashicorp/http-echo -text="hello world"

start the delivery server

$ go run main.go --config example/config.yaml

send message to delivery server as the Alertmanager will do

$ curl localhost:41357/echo-yaml -X POST -d @example/message.json

Deployment

[TODO]

Configuration

[TODO]

Included Templates