A tiny webhook receiver for Prometheus AlertManager alerts that logs the received alert data in JSON format to stdout.
This app makes it possible -- when coupled with a log aggregator like fluentd, fluent-bit, logspout, etc... -- to use a log management tool to monitor a Prometheus environment and alert if it goes down (e.g. if a WatchDog alert doesn't fire in x minutes). While there might be other use cases, that's the only use case intended to be fulfilled by this app.
docker run --name am-logging-receiver -p 8080:8080 xetusoss/alertmanager-logging-receiver:latest
See the available make commands:
make help
The release process is:
-
Ensure you have a clean git state (the following should have no output):
git status --porcelain
-
Ensure tests pass:
make test
-
Create a tag with the desired version, push the docker images, and push the git tag
git tag v${version} VERSION=${version} make push VERSION="latest" make push git push origin v${version}