SMLL Docs

Alerting

Configure alert rules and notification channels for your infrastructure.

SMLL lets you define alert rules that fire when your infrastructure metrics cross thresholds. Alerts are sent to notification channels you configure.

Default alerts

Every VPC comes with 7 pre-configured alert rules:

AlertMetricConditionSeverity
OOM Killed DetectionContainer OOM kills> 0 for 60sCritical
Container Restart LoopRestart count> 5 in 5minWarning
High CPU UsageCPU usage> 90% for 5minWarning
High Memory UsageMemory usage> 90% for 5minWarning
Disk Usage CriticalDisk usage> 80% for 5minCritical
DB Replication LagReplication lag> 30s for 2minWarning
Connection Pool ExhaustionPool usage> 80% for 5minWarning

Default alerts can be customized or disabled.

Creating custom alerts

  1. Go to your VPC's Alerting section
  2. Click Create Alert
  3. Configure:
    • Metric — what to monitor
    • Condition — above, below, or equals
    • Threshold — the numeric value to compare against
    • Duration — how long the condition must hold before firing (in seconds)
    • Severity — info, warning, or critical
    • Channels — where to send notifications

Available metrics

MetricDescription
cpu_usage_percentCPU usage percentage
memory_usage_percentMemory usage percentage
disk_usage_percentDisk usage percentage
container_oom_killedOOM kill events
container_restart_countContainer restart count
db_replication_lagDatabase replication lag (seconds)
db_connections_percentConnection pool usage percentage
network_egress_bytesNetwork egress bytes
http_error_rateHTTP error rate
http_latency_p99HTTP p99 latency

Notification channels

Email

Send alerts to any email address. Configure in the Channels tab:

  1. Click Add Channel
  2. Choose Email
  3. Enter the email address

Webhook

Send alerts as HTTP POST requests to any URL:

  1. Click Add Channel
  2. Choose Webhook
  3. Enter the URL
  4. Optionally set a signing secret

Webhook payloads are signed with HMAC-SHA256. The signature is sent in the X-SMLL-Signature header, so you can verify that alerts are genuine.

Testing channels

After creating a channel, click Test to send a sample notification and verify it's working.

Alert history

The alerting page shows a log of all fired alerts, including:

  • When the alert fired and resolved
  • Which metric and threshold triggered it
  • The severity level
  • Which channels were notified

On this page