Tweak template
Make this thing configurable
Use markdown
This is a simple program which listens for prometheus webhooks and forwards the alert to a customizable command. It spawns the configured command and copies the alert to the command's stdin stream.
The config lives at ~/.config/promalerter/config.toml
and accepts the following settings:
promalerter
prints to stdout.127.0.0.1:5001
.""
to disable the spawning of a shell. Default is /bin/sh
.