Commands
up0 monitors
Monitor list and service binding
up0 monitors
Monitor list and service binding
up0 monitors bind
Bind a monitor to a service in the org's service catalog.
Drives the write path #856 built: PATCH /api/v1/me/monitors/{id}
with {"service_id": <uuid>}. Turns on #838's Issue<->Incident
correlation for that service once the monitor and an issue share it.
Usage: up0 monitors bind [OPTIONS] MONITOR| Name | Type | Default | Description |
|---|---|---|---|
MONITOR | string | required | Monitor id (UUID) or exact name |
--service | string | required | Name of the service to bind to (must belong to this org) |
--json | boolean | false | Emit the updated monitor as JSON |
--org-id | string | - | Organization ID (or set UP0_ORG_ID) (env: UP0_ORG_ID) |
up0 monitors list
List the organization's monitors, showing each one's bound service.
Pages through every monitor (#859 review) rather than stopping at the
API's 100-per-page cap -- a list command that silently drops rows past
page 1 is the same failure class as bind reporting a real monitor
"not found"; both are fixed by _all_monitors.
Usage: up0 monitors list [OPTIONS]| Name | Type | Default | Description |
|---|---|---|---|
--json | boolean | false | Emit monitors as JSON |
--org-id | string | - | Organization ID (or set UP0_ORG_ID) (env: UP0_ORG_ID) |
up0 monitors unbind
Clear a monitor's service binding (sets service_id to null).
Usage: up0 monitors unbind [OPTIONS] MONITOR| Name | Type | Default | Description |
|---|---|---|---|
MONITOR | string | required | Monitor id (UUID) or exact name |
--json | boolean | false | Emit the updated monitor as JSON |
--org-id | string | - | Organization ID (or set UP0_ORG_ID) (env: UP0_ORG_ID) |