Skip to content

The missing template rendering for Alertmanager webhook receivers

License

Notifications You must be signed in to change notification settings

houz42/alertmanager-delivery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The missing template rendering for Alertmanager webhook receivers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published