Use the DigitalOcean API to programmatically retrieve metrics and configure metrics alert policies.
Monitoring Reference
Validated on 22 Apr 2022 • Last edited on 17 Apr 2025
DigitalOcean Monitoring is a free, opt-in service that lets you track Droplet resource usage in real time, visualize performance metrics, and receive alerts via email or Slack to proactively manage your infrastructure’s health.
The DigitalOcean API lets you manage DigitalOcean resources programmatically using conventional HTTP requests. All the functionality available in the DigitalOcean Control Panel is also available through the API.
doctl
is a command-line interface for the DigitalOcean API and supports many of the same actions.