Monitoring guide
How to monitor DigitalOcean
DigitalOcean gives you droplets, managed apps and databases. Keep an eye on the servers you run, and check from outside what users get.
3 min read9 sectionsUpdated
On this page
Why DigitalOcean needs its own monitoring
On droplets you own the operating system, so disk filling up, memory pressure and a stopped service are your problems. On App Platform and managed databases, DigitalOcean runs the infrastructure, but your code, queries and limits still cause incidents.
DigitalOcean offers a monitoring agent with droplet graphs and alert policies for CPU, memory, disk and bandwidth, plus its own uptime checks. Application-level traces, error tracking and correlation across services need an observability backend.
| Signal | How to measure it | Alert when |
|---|---|---|
| Uptime of the main pages and API | HTTP check every minute from several regions, with a keyword assertion | Two regions fail in a row |
| Droplet CPU, memory and disk | Agent metrics or an OpenTelemetry Collector on the host | Disk over 85% or memory over 90% for 10 minutes |
| Processes and services | Process checks or systemd status | A required service not running |
| Database | Connections, storage and replica lag | Over 80% of limits |
| Application latency | OpenTelemetry traces | p95 above target |
Set it up, step by step
- Check uptime from outside. Monitor the site through the load balancer and each important endpoint.
- Collect host metrics. Install an agent or OpenTelemetry Collector on each droplet.
- Rotate logs. Use logrotate so logs cannot fill the disk; see too many open files and high CPU usage for common host problems.
- Trace the app. OpenTelemetry for your language.
- Alert on symptoms first. Uptime and latency, then disk and memory before they become outages.
Route alerts to the people who can act on them (Slack for warnings, a phone call for outages), and put the checks behind a status page so users see what you see.
DigitalOcean specifics
Enable automatic restarts for your app (systemd Restart=always or a container restart policy) and verify them by rebooting a droplet on purpose. For Kubernetes on DigitalOcean, see Kubernetes monitoring.
Does DigitalOcean have monitoring?
Yes, droplet metrics, alert policies and uptime checks; application traces and errors need an observability tool.
What alerts should a droplet have?
Disk over 85%, memory over 90%, CPU sustained high, and an outside uptime check.
How do I monitor a managed database?
Watch connections, storage, CPU and replica lag, and track slow queries.
Check it now, free
- Is DigitalOcean down? Live status: checked every few minutes, with outage history.
Related reading
- What is a flame graph?: Flame graphs explained: how stack samples become a flame graph, how to read width and depth, and the tools to produce one in each language.
- How to monitor a Next.js app: How to monitor a Next.js app in production: uptime checks, Core Web Vitals, server and edge errors, OpenTelemetry traces for SSR and API routes, and alerts.
- Datadog vs New Relic: Datadog vs New Relic compared: APM, logs, infrastructure, pricing models, OpenTelemetry support and when each one is the better fit for your team.
- A Dynatrace alternative: VitalRix vs Dynatrace: VitalRix vs Dynatrace: enterprise full-stack observability compared with a simpler, OpenTelemetry-native platform for web and API teams.
- What is alert flapping?: Alert flapping explained: why alerts fire and resolve over and over, and the fixes that work: sustained conditions, hysteresis, cooldowns and grouping.
- What is an escalation policy?: Escalation policies explained: steps, targets and acknowledgement timeouts, an example three-step policy, repeat rules and how to avoid alerts nobody owns.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.