This feature is in public preview. To use it, opt in from the Feature Preview page.
How to Create, Edit, and Delete Metric Alertspublic
Last verified 1 Oct 2026
DigitalOcean Insights provides observability for supported resources through metrics, logs, traces, custom dashboards, and metric alerts.
Metric alerts monitor resource metrics and notify you when a metric meets a defined condition. You can create alert rules for supported resources, configure evaluation periods and notification frequency, and send notifications through email, Slack, or webhooks.
Metrics are currently available for Droplets, Kubernetes, Managed Databases, Load Balancers, App Platform, Functions, AI/ML products, and networking services.
Enable Insights During Resource Creation
After you opt in to the public preview, you can enable the available Insights telemetry from the resource creation page when you create a supported DigitalOcean resource. For Droplets and GPU Droplets, select Install the Observability agent to install the agent during resource creation. This enables logs and trace data for the resource, which you can disable later if needed.
For supported managed resources that do not require the Observability agent, the resource creation page displays the available logs and traces options directly. When creating Managed Agents resources, Insights is enabled by default.
View Alerts Using the Control Panel
Use the Alerts tab to monitor active and resolved alerts, manage alert rules, and configure notification channels.
To view your alerts, go to the DigitalOcean Control Panel, in the left menu, click DATA & LEARNING, click Insights, and then click the Alerts tab.
The Alerts tab provides access to alerts, alert rules, and notification channels.
In the All Alerts tab, you can view active and resolved alerts. To filter the alerts displayed, in the top-right corner, select one of the following:
- All displays both active and resolved alerts.
- Active (default) displays alerts whose conditions are currently being met.
- Resolved displays alerts whose conditions are no longer being met.
After an alert resolves, you can view it in the Resolved tab for up to 30 days.
View Alerts Using Automation
To view alerts via the API, send a request to the List Alert Instances endpoint:
To retrieve a specific alert, send its ID to the Retrieve an Alert Instance endpoint:
Create an Alert Rule Using the Control Panel
The Alert Rules tab lists your alert rules and lets you create, enable, disable, edit, or delete them.
To create an alert rule, go to the Control Panel, in the left menu, click DATA & LEARNING, click Insights, and then click the Alerts tab.
In the left menu, click the Alert Rules tab, and then click Create rule to open the Create alert rule window.
Select Resource Type
The Resource type determines which type of resource the alert monitors.
To select a resource type, click the Resource type dropdown menu and choose the resource type you want to monitor. By default, the rule monitors all resources of the selected type. To monitor a specific resource instead, click the Resources dropdown menu and select the resource.
Select Metric
The Metric determines which metric the alert monitors.
To select a metric, click the Metric field and choose a metric available for the selected resource type. For example, for Droplets, select do.droplets.cpu.utilization.
Select an Evaluation Window
The Evaluation window determines how long the alert condition must persist before the alert triggers.
To select an evaluation window, click the Evaluation window menu and choose 1 minute, 5 minutes (default), 10 minutes, 15 minutes, 30 minutes, or 1 hour.
Shorter windows detect changes faster but may trigger on temporary fluctuations. Longer windows reduce sensitivity to brief changes but may delay notifications.
Set a Condition
The Condition determines how the metric value is compared against the alert threshold.
To select a condition, click the Condition dropdown menu and choose >=, >, <=, <, =, or !=.
Then, in the field next to the Condition dropdown menu, enter the threshold value that triggers the alert when the selected condition is met.
Configure Re-notification
The Re-notify while unresolved setting determines how often DigitalOcean sends another notification while the alert remains active.
To set the frequency, click the Re-notify while unresolved dropdown menu and choose Every 30 minutes, Every 1 hour, Every 4 hours (default), or Never.
Select Notification Method
In the Select Notification Method section, select an existing notification channel.
To configure a new channel, click + Create New Notification Channel.
In the Name field, enter a descriptive name for the rule. Include details such as the resource type, metric, environment, or condition so that you can distinguish the rule from similar alerts. For example, “Production GPU temperature”.
In the Summary section, review the resource, metric, condition, evaluation window, and notification configuration. Then, click Create alert rule.
The rule appears in the Alert Rules tab and is enabled by default. In the Status column, click the toggle to enable or disable the rule.
If the alert rule has an active alert when you disable it, the alert’s state changes to Resolved.
Create an Alert Rule Using Automation
To create an alert rule via the API, send a request to the Create an Alert Rule endpoint with the metric, condition, evaluation window, and notification channel configuration.
Edit an Alert Rule Using the Control Panel
To edit an alert rule, go to the Control Panel, in the left menu, click DATA & LEARNING, click Insights, and then click the Alerts tab.
Then, in the left menu, click Alert Rules, then find the rule you want to edit, click … on the right of it, and then click Edit to open the Edit alert rule page.
Update the rule’s resource, metric, condition, evaluation window, re-notification frequency, or notification method as needed. These settings use the same configuration options as when you create a rule.
In the Summary section, review your changes, and then click Save alert rule.
Your changes take effect during the next alert evaluation cycle, which occurs approximately once per minute. If the rule has an active alert, its status updates during the next evaluation cycle based on the revised configuration.
Edit an Alert Rule Using Automation
To edit an alert rule via the API, send a request to the Update an Alert Rule endpoint with the alert rule ID and updated configuration. You can retrieve alert rule IDs using the List Alert Rules endpoint.
Delete an Alert Rule Using the Control Panel
To delete an alert rule, go to the DigitalOcean Control Panel, in the left menu, click DATA & LEARNING, click Insights, and then click the Alerts tab.
Then, in the left menu, click Alert Rules, then find the rule you want to delete, click … on the right of it, and then click Delete to open the Delete alert rule window.
Deleting an alert rule permanently removes it and stops the rule from evaluating metrics or triggering new alerts.
In the Alert rule name field, enter the rule’s name to confirm the deletion. Then, click Delete.
If the alert rule has an active alert when you delete it, the alert’s state changes to Resolved.
Delete an Alert Rule Using Automation
To delete an alert rule via the API, send a request to the Delete an Alert Rule endpoint with the alert rule ID. You can retrieve alert rule IDs using the List Alert Rules endpoint.
Create a Notification Channel Using the Control Panel
Notification channels define where DigitalOcean sends notifications when an alert rule triggers. You can create channels for email, Slack, or webhook destinations and reuse them across multiple alert rules.
To create a notification channel, go to the DigitalOcean Control Panel, in the left menu, click DATA & LEARNING, click Insights, and then click the Alerts tab.
Then, in the left menu, click Notification Channels, in the top-right corner, click Create notification channel to open the Create notification channel window.
Choose a Name
In the Name field, enter a descriptive name that identifies the destination or its purpose. For example, “Production on-call email”, “Infrastructure alerts Slack”, or “Incident management webhook”.
Configure Notification Type
The type of notification you use determines how DigitalOcean sends alert notifications.
To select a notification type, click the Type dropdown menu, and then choose Email, Slack, or Webhook:
After configuring the channel, click Create notification channel.
The channel appears in the Notification Channels tab and is immediately available when you create or edit an alert rule.
Create a Notification Channel Using Automation
To create a notification channel via the API, send a request to the Create a Notification Channel endpoint with the channel name, type, and destination configuration.
Edit a Notification Channel Using the Control Panel
To edit a notification channel, go to the DigitalOcean Control Panel, in the left menu, click DATA & LEARNING, click Insights, and then click the Alerts tab.
Then, in the left menu, click Notification Channels, find the channel you want to edit, and then click its name to open the Edit notification channel window.
Update the channel settings as needed. The available settings are the same as when you create a notification channel.
After making your changes, click Save notification channel.
Edit a Notification Channel Using Automation
To edit a notification channel via the API, send a request to the Update a Notification Channel endpoint with the notification channel ID and updated configuration. You can retrieve notification channel IDs using the List Notification Channels endpoint.
Delete a Notification Channel Using the Control Panel
To delete a notification channel, go to the DigitalOcean Control Panel, in the left menu, click DATA & LEARNING, click Insights, and then click the Alerts tab.
Then, in the left menu, click Notification Channels, find the channel you want to delete, click … on the right of it, and then click Delete to open the Delete notification channel window.
Deleting a notification channel permanently removes it. Alert rules that use the channel can no longer send notifications to that destination.
You cannot delete a notification channel that is used by an alert rule. Before deleting the channel, update the associated alert rules to use another notification channel.
In the Notification channel name field, enter the channel’s name to confirm the deletion. Then, click Delete.
Delete a Notification Channel Using Automation
To delete a notification channel via the API, send a request to the Delete a Notification Channel endpoint with the notification channel ID. You can retrieve notification channel IDs using the List Notification Channels endpoint.