alertmanager-delivery

command module
v0.0.0-...-a016e7d Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: Unlicense Imports: 10 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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