• Blog
  • Docs
  • Careers
  • Get Support
  • Contact Sales
DigitalOcean
  • Featured AI Products

    Compute

    Build, deploy, and scale cloud compute resources

    Containers and Images

    Safely store and manage containers and backups

    Managed Databases

    Fully managed resources running popular database engines

    Management and Dev Tools

    Control infrastructure and gather insights

    Networking

    Secure and control traffic to apps

    Security

    Help protect your account and resources with these security features

    Storage

    Store and access any amount of data reliably in the cloud

    Browse all products

  • AI/ML

    CMS

    Data and IoT

    Developer Tools

    Gaming and Media

    Hosting

    Security and Networking

    Startups and SMBs

    Web and App Platforms

    See all solutions

  • Community

    Documentation

    Developer Tools

    Get Involved

    Utilities and Help

  • Become a Partner

    Marketplace

  • Pricing
  • Log in
  • Sign up
  • Log in
  • Sign up

Company

  • About
  • Leadership
  • Blog
  • Careers
  • Customers
  • Partners
  • Referral Program
  • Affiliate Program
  • Press
  • Legal
  • Privacy Policy
  • Security
  • Investor Relations

Products

  • Knowledge Bases
  • GPU Droplets
  • Bare Metal GPUs
  • Inference Engine
  • Data & Learning
  • Evaluations
  • Model Library
  • Droplets
  • Kubernetes
  • Functions
  • App Platform
  • Load Balancers
  • Managed Databases
  • Spaces
  • Block Storage
  • Network File Storage
  • API
  • Uptime
  • Cloud Security Posture Management (CSPM)
  • Identity and Access Management (IAM)
  • Cloudways
  • View all Products

Resources

  • Community Tutorials
  • Community Q&A
  • CSS-Tricks
  • Write for DOnations
  • Currents Research
  • DigitalOcean Startups
  • Wavemakers Program
  • Compass Council
  • Open Source
  • Newsletter Signup
  • Marketplace
  • Pricing
  • Pricing Calculator
  • Documentation
  • Release Notes
  • Code of Conduct
  • Shop Swag

Solutions

  • AI Training GPU
  • GPU Inference
  • VPS Hosting
  • Website Hosting
  • VPN
  • Docker Hosting
  • Node.js Hosting
  • Web Mobile Apps
  • WordPress Hosting
  • Virtual Machines
  • View all Solutions

Contact

  • Support
  • Sales
  • Report Abuse
  • System Status
  • Share your ideas

Company

  • About
  • Leadership
  • Blog
  • Careers
  • Customers
  • Partners
  • Referral Program
  • Affiliate Program
  • Press
  • Legal
  • Privacy Policy
  • Security
  • Investor Relations

Products

  • Knowledge Bases
  • GPU Droplets
  • Bare Metal GPUs
  • Inference Engine
  • Data & Learning
  • Evaluations
  • Model Library
  • Droplets
  • Kubernetes
  • Functions
  • App Platform
  • Load Balancers
  • Managed Databases
  • Spaces
  • Block Storage
  • Network File Storage
  • API
  • Uptime
  • Cloud Security Posture Management (CSPM)
  • Identity and Access Management (IAM)
  • Cloudways
  • View all Products

Resources

  • Community Tutorials
  • Community Q&A
  • CSS-Tricks
  • Write for DOnations
  • Currents Research
  • DigitalOcean Startups
  • Wavemakers Program
  • Compass Council
  • Open Source
  • Newsletter Signup
  • Marketplace
  • Pricing
  • Pricing Calculator
  • Documentation
  • Release Notes
  • Code of Conduct
  • Shop Swag

Solutions

  • AI Training GPU
  • GPU Inference
  • VPS Hosting
  • Website Hosting
  • VPN
  • Docker Hosting
  • Node.js Hosting
  • Web Mobile Apps
  • WordPress Hosting
  • Virtual Machines
  • View all Solutions

Contact

  • Support
  • Sales
  • Report Abuse
  • System Status
  • Share your ideas
© 2026 DigitalOcean, LLC.Sitemap.
Product updates

Programmatically gain insight into your apps using the new Monitoring API

author

By Brett Snyder

Principal Engineer

  • Published: October 14, 2021
  • 2 min read
<- Back to blog home

Delivering superior customer experiences is a key priority for most startups and small businesses. One way to do that is to regularly monitor the performance of the infrastructure on which your apps run. This allows you to detect problems early, avoid outages, and prevent customer dissatisfaction.

DigitalOcean provides a monitoring service that enables you to track infrastructure metrics like memory usage, disk usage, load average – all at no additional cost to DigitalOcean users. You can set alerts to be notified via email or Slack, should metrics surpass any thresholds that you define. DigitalOcean monitoring was previously only available via the cloud control panel, and we’re excited that now you can access monitoring metrics and insights data through our API. This enables DigitalOcean API users to more easily view and monitor their metrics, ensuring they know when issues arise and can improve their performance over time.

Why should you be using the Monitoring API?

This extension of the DigitalOcean API will allow you to programmatically manage your alert policies and retrieve Droplet insight metrics from your own applications and scripts. This enables DigitalOcean users to create automated alerting solutions, custom metrics dashboards, or pass performance data on to end users. These new additions can also be leveraged to reduce the time spent manually managing alert policies via the DigitalOcean cloud console.

Manage alert policies or retrieve insights data programmatically

There are two main facets of the new API offering: 

  • Alerting policies: Alert policies are user-created rules that define thresholds for resource consumption. When a usage exceeds the threshold, notifications are dispatched through email or Slack. You now have the ability to manage alert policies for CPU usage, bandwidth, memory utilization, and more with the API. For more information, see the API reference docs for AlertPolicy.
  • Monitored resources: A monitored resource is something about which metrics are collected. For example, you should be able to retrieve activity of a Droplet instance (CPU, memory, disk, bandwidth, and load average data). For a list of the available monitored resources, see the monitored resource list.

We hope that you are excited about this release and will give the monitoring API a try. Additionally, the godo library, as well as doctl, have also been updated with the functionality to manage alert policies. The API will continue to evolve, and more products will be supported for insights metric data.

Happy coding!

Brett Snyder

Senior Software Engineer

About the author

Brett Snyder
Brett Snyder
Author
Principal Engineer
See author profile
See author profile

Share

  • Product Updates

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
Sign up

Related Articles

Scale Faster with Managed Weaviate: Now in Public Preview on DigitalOcean
Product updates

Scale Faster with Managed Weaviate: Now in Public Preview on DigitalOcean

Waverly Swinton
  • July 9, 2026
  • 4 min read

Read more

DigitalOcean Evaluations: Production Model and Router Testing for the Inference Stack
Product updates

DigitalOcean Evaluations: Production Model and Router Testing for the Inference Stack

Grace Morgan
  • July 1, 2026
  • 3 min read

Read more

Run Codex in the cloud – DigitalOcean for Codex is now available
Product updates

Run Codex in the cloud – DigitalOcean for Codex is now available

Ari Sigal
  • June 25, 2026
  • 3 min read

Read more