SigSentrySigSentry
Watchdog

Watchdog

Configure monitoring rules that watch your logs and fire alerts or kick off automatic analyses

Watchdog rules continuously evaluate your project's logs against thresholds you configure. When a rule trips, you either get a notification or a full automatic analysis — your choice, per rule.

Use these endpoints to manage rules programmatically: list and create them, dry-run a rule against the last seven days of logs to estimate alert volume, and pull the recent activity feed. Toggle individual rules with PUT /v1/config/monitoring/{id}. The project-wide master switch lives in the dashboard at Project → Watchdog → Settings.

Endpoints

Method + pathPurpose
GET /v1/config/monitoringList rules for the project
POST /v1/config/monitoringCreate a rule
PUT /v1/config/monitoring/{id}Update a rule
DELETE /v1/config/monitoring/{id}Delete a rule
POST /v1/config/monitoring/dry-runReplay a rule against historical logs
GET /v1/config/monitoring/activityRecent rule activity and alerts

Rule shape

Every rule is one of four types — error count, error rate, pattern match, or spike — paired with a check schedule, a lookback window, and an action (notify or auto-analyze). The full field-by-field breakdown lives in the create endpoint and a conceptual walkthrough lives in Rule types.

See also