We are adding native notifications to alert users when they are overutilizing memory and disk to prevent agent disconnects due to OOM/OOD ahead of time.
This notification requires more configuration than most opt-in alerts. We should inform users before their release at the start of march.
Resource alerting notifications allow template admins to set "high water mark" thresholds for memory and volume consumption in Terraform. When these thresholds are exceeded in workspaces created from that template, the owner of the workspace is notified. To enable OOM/OOD notifications on a template, use the resources_monitoring[1] block on the coder_agent[2] resource in our Terraform provider. You can specify one or more volumes to monitor for OOD alerts, OOM alerts are reported per-agent.
Here's an example configuration to warn the user when memory usage exceeds 90%, or disk usage exceeds 80%/95%:
We are adding native notifications to alert users when they are overutilizing memory and disk to prevent agent disconnects due to OOM/OOD ahead of time.
This notification requires more configuration than most opt-in alerts. We should inform users before their release at the start of march.
Resource alerting notifications allow template admins to set "high water mark" thresholds for memory and volume consumption in Terraform. When these thresholds are exceeded in workspaces created from that template, the owner of the workspace is notified. To enable OOM/OOD notifications on a template, use the
resources_monitoring
[1] block on thecoder_agent
[2] resource in our Terraform provider. You can specify one or more volumes to monitor for OOD alerts, OOM alerts are reported per-agent.Here's an example configuration to warn the user when memory usage exceeds 90%, or disk usage exceeds 80%/95%:
[1] https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#resources_monitoring-1 [2] https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent