A simple tool receives alerts from alertmanager and push a new task on a Youtrack board. That's all.
To run it:
./main --config /config/pathIn alertmanager config file write:
receivers:
- name: "api-webhook"
webhook_configs:
- url: "http://metrics-catcher:12000/on_alert"Where metrics-catcher:12000 are host and port of the tool
In addition on debug port there is a /metrics endpoint for Prometheus metrics