Giter Site home page Giter Site logo

houz42 / alertmanager-delivery Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 45 KB

The missing template rendering for Alertmanager webhook receivers

License: The Unlicense

Go 96.29% Dockerfile 3.71%
alertmanager prometheus webhook wechat-work message-bot

alertmanager-delivery's Introduction

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

alertmanager-delivery's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

supremind

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.