Use the DigitalOcean API to programmatically retrieve metrics and configure metrics alert policies.
Monitoring Reference
Validated on 22 Apr 2022 • Last edited on 12 May 2026
DigitalOcean Monitoring is a free, opt-in service that helps you track Droplet resource usage, view performance metrics, and receive alerts. The DigitalOcean metrics agent is an open-source Go utility that collects and sends system metrics to DigitalOcean to enable features such as usage graphs, alerts, and custom metrics.
The DigitalOcean API
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.
The DigitalOcean Command Line Client, doctl
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
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.