feat(alerting): add monitor alert groups with default routing
This commit is contained in:
1 parent
52819e64bb
commit
8544e5a585
26 files changed
+2938
-1473
No files matched your search
@@ -106,6 +106,18 @@ curl -H "Authorization: Bearer ust_…" https://uptime.example.com/api/v1/org/mo
|
||||
|
||||
The interactive API documentation is at `/api/docs` of every installation, the OpenAPI 3.1 document at `/api/openapi.json`.
|
||||
|
||||
Alert groups bundle notification channels under **Settings → Notifications**. Assign one or
|
||||
more groups in the monitor editor. Each organization has a default group, automatically
|
||||
assigned to new monitors and new channels. Existing monitors and channels are migrated
|
||||
to that group to preserve delivery. The default group can be renamed and its channels
|
||||
changed, but cannot be deleted. A channel in multiple assigned groups receives each
|
||||
incident event once. Selecting no groups disables notifications for that monitor.
|
||||
|
||||
The API exposes `/api/v1/org/alert-groups` for managing groups and `alert_group_ids`
|
||||
on monitor requests and responses. Omit the field when creating a monitor to use the
|
||||
default; omit it when updating to preserve assignments. Send `[]` to remove them all.
|
||||
Deleting a custom group removes its assignments without assigning a fallback.
|
||||
|
||||
## Examples
|
||||
|
||||
Create a monitor that checks a website from two regions every minute:
|
||||
|
||||
Reference in new issue
Block a user