Use the DigitalOcean API to programmatically retrieve metrics and configure metrics alert policies.
Monitoring Reference
Validated on 22 Apr 2022 • Last edited on 11 Dec 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 resources programmatically with standard HTTP requests. All actions available in the control panel are also available through the API.
doctl is the command-line interface for the DigitalOcean API. It supports most of the same actions available in the API and DigitalOcean Control Panel.
The DigitalOcean MCP server lets you use natural language prompts to interact with DigitalOcean Insights features, including uptime checks, alert policies, and metrics across droplets, apps, and other resources.