Skip to content

Better Stack Uptime — Monitoring Setup

ProjectPTX-CM
PlanMonitors, status pages, phone calls

Monitors to Create

1. API Health (HTTP Monitor)

FieldValue
NamePTX-CM API Health
URLhttps://your-domain/health
Check frequency30 seconds
Request methodGET
Expected status200
Alert on2 consecutive failures
EscalationPhone call + SMS

2. Web Frontend (HTTP Monitor)

FieldValue
NamePTX-CM Web
URLhttps://your-domain/
Check frequency60 seconds
Request methodGET
Expected status200
EscalationEmail

3. Database Backup (Heartbeat Monitor)

FieldValue
NamePTX-CM Daily DB Backup
TypeHeartbeat
Expect every24 hours
Grace period30 minutes
EscalationPhone call + SMS

Setup:

  1. Go to Heartbeats → Create heartbeat
  2. Configure as above
  3. Copy the heartbeat URL
  4. Set HEARTBEAT_URL in cron environment or server .env

Status Page

  1. Go to Status pages → Create
  2. Name: PTX Channel Manager Status
  3. Subdomain: ptx-cmptx-cm.betteruptime.com
  4. Add all 3 monitors above
  5. Share URL with ops team

On-Call Schedule

  1. Go to On-call → Create schedule
  2. Add team member(s) with phone numbers
  3. Attach to all monitors as escalation policy

Alert Flow

Monitor fails (2 consecutive checks)

Better Stack creates incident

Phone call to on-call person (immediate)

SMS notification (immediate)

Email notification (immediate)

Status page updated automatically

Monitor recovers → incident auto-resolved

Status page shows "All systems operational"

PTX Channel Manager — Internal Documentation