Skip to content

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.

What typically goes wrong

  • Disk full on a droplet from logs or uploads.
  • Memory pressure and the OOM killer stopping a process.
  • A service not restarting after a reboot or kernel update.
  • Managed database connections or storage at their limit.
  • Load balancer health checks failing for one droplet.

What to monitor

SignalHow to measure itAlert when
Uptime of the main pages and APIHTTP check every minute from several regions, with a keyword assertionTwo regions fail in a row
Droplet CPU, memory and diskAgent metrics or an OpenTelemetry Collector on the hostDisk over 85% or memory over 90% for 10 minutes
Processes and servicesProcess checks or systemd statusA required service not running
DatabaseConnections, storage and replica lagOver 80% of limits
Application latencyOpenTelemetry tracesp95 above target

Set it up, step by step

  1. Check uptime from outside. Monitor the site through the load balancer and each important endpoint.
  2. Collect host metrics. Install an agent or OpenTelemetry Collector on each droplet.
  3. Rotate logs. Use logrotate so logs cannot fill the disk; see too many open files and high CPU usage for common host problems.
  4. Trace the app. OpenTelemetry for your language.
  5. 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.

Frequently asked questions

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

  • 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.