Hi all,
Monitoring became available 9 months ago in April 2017, but as of yet we still cannot setup alerts through the API. This is annoying since I configure my whole DO setup using terraform, yet i have to manually configure alerts through the UI.
Is there any plans for adding this feature or is it definitely not going to happen?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hello,
Just a quick update here. DigitalOcean now has a Monitoring API endpoint that you could use. For more information you can take a look at the official API documentation here:
https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring
There are endpoints that would allow you to configure alerts via the API.
Also, keep in mind that you need to have the DigitalOcean Metrics Agent installed on your Droplet in order to get some data back.
You can install the do-agent as per the instructions here:
https://docs.digitalocean.com/products/monitoring/how-to/install-agent/
Hope that this helps. Best, Bobby
Hi,
I realize that the setup is not optimal for automated config, and I’ve recorded your ask. Regarding timing, we’re currently reprioritizing the monitoring roadmap, based largely on user input. If you haven’t already please weigh in using our roadmap survey, which is open through 31 January at 11:59 Pacific time.
thanks, Michelle
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.