Is there a way to check if the config is valid? (similar to promtool with Prometheus)
Thanks.
Not yet unfortunately (short of actually trying to start Alertmanager with it).
We use jenkins to build and deploy new containers in which we have a test step.
However when I just run it, it obviously keeps hanging forever.
Any other tips on how I could mimic a test?
Thanks!
Currently only by writing code that uses Alertmanager's config packages itself, but that's not recommended as it's not meant to be used externally.
In the future, it would be great to have a tool (similar to promtool or integrated with it) that allows this.
Okay. Looking forward to it.
Thanks!
This should probably be written into amtool
any update on this?
I'm working on this on https://github.com/iksaif/alertmanager/tree/check-config
For people who come from google: https://github.com/prometheus/alertmanager#amtool
amtool check-config config.yml
Most helpful comment
For people who come from google: https://github.com/prometheus/alertmanager#amtool