gossip is a lightweight reverse proxy that routes Alertmanager webhook receiver notifications within Yandex Messenger. It has no configuration file, and assumes that:
- the
tokenvariable that contains a header type followed by a bot token has been set within the runtime environment -
common.tmplis in theproxy/staticdirectory during the build -
chat_idis in the URL path of the incoming request
Alertmanager webhook receiver example:
- name: devops
webhook_configs:
- url: "http://localhost:9055/{{ chat_id['devops'] }}"Running in a container:
docker buildx build -t gossip:latest .
docker run --rm --name gossip --network host -e "token=$token" gossip:latest- embedded static files
- minimum third-party dependencies
-
resolvedalerts answerfiring