All Guides
Observability12 min read

Monitoring & Alert Rules

Set up real-time server and application monitoring with custom alert rules, notification channels, and incident management.

1.Metrics Collection

Understand what metrics Oxaploy collects and how to interpret them.

  1. System metrics: CPU, RAM, disk, network (collected every 30s)
  2. Application metrics: request rate, latency, error rate, throughput
  3. Database metrics: connections, query latency, cache hit ratio
  4. Container metrics: CPU, memory, restart count, health status
  5. Custom metrics: expose /metrics endpoint in Prometheus format

2.Create Alert Rules

Set up automated alerts for critical conditions.

  1. Navigate to Monitoring → Alert Rules
  2. Click New Alert Rule
  3. Select metric: CPU, RAM, disk, request latency, error rate, custom
  4. Set condition: >, <, >=, <=, ==, != with threshold
  5. Set evaluation window: 1m, 5m, 15m, 1h
  6. Configure notification channels (email, SMS, webhook)
  7. Set severity: warning, critical
  8. Add runbook URL for incident response

3.Notification Channels

Configure where alerts are sent.

  1. Email: add team member emails, customize subject/template
  2. SMS: add phone numbers (Enterprise plan)
  3. Webhook: POST JSON payload to custom endpoint
  4. Slack: incoming webhook URL with custom formatting
  5. Test each channel before saving

4.Incident Management

Track and resolve incidents efficiently.

  1. Alert triggers → incident created with timestamp and context
  2. View incident timeline: triggered, acknowledged, resolved
  3. Acknowledge incident to stop escalation
  4. Add comments and attach logs/screenshots
  5. Resolve incident — auto-closes after resolution confirmed
  6. Post-incident: generate postmortem template
  7. Metrics: MTTA, MTTR, incident frequency trends