I have set an alert rule in Prometheus for MongoDB metrics. Now want send an email notification, for that I want configure Alertmanager. I can not access SMTP server directly as per our project process. For that we have a custom developed API that I can only call.
Now I am little confused how I can call a custom API from alert manager configuration file (alertmanager.yml), in documentation it has been given how to give SMTP details.
Can anyone help to understand how I can call custom API for email notification.
Thanks!!!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.