Loading...
Loading...
Manage Coralogix SLO (Service Level Objective) definitions with the `cx slos` CLI — list and inspect SLOs, check whether targets and error budgets are healthy, and create, update, or delete SLO definitions from JSON. Use when the user asks to "list SLOs", "check SLO status", "is an SLO breaching", "error budget", "create an SLO", "update an SLO", "delete an SLO", or "service level objective".
npx skill4agent add coralogix/cx-cli cx-slos| Command | Purpose |
|---|---|
| List all SLO definitions |
| Get a single SLO by ID |
| Create an SLO from a JSON definition [requires |
| Replace an SLO definition from JSON [requires |
| Delete an SLO [requires |
-o json-p <profile>createupdate--from-file <path>-createupdatedelete--yes| Field | Meaning |
|---|---|
| Human-readable SLO name |
| Optional description |
| The objective, e.g. |
| |
| Rolling window, e.g. |
| The pillar the SLO is computed from, e.g. |
# All SLOs with their target and window
cx slos list -o json | jq '[.[] | {name, targetThresholdPercentage, sloType, sloTimeFrame}]'
# Inspect a single SLO in full
cx slos get <slo-id> -o jsontargetThresholdPercentagecx-telemetry-queryingget# Template from an existing SLO, edit, then create
cx slos get <existing-slo-id> -o json > slo.json
# Edit slo.json: change name, targetThresholdPercentage, sloType, sloTimeFrame, etc.
cx slos create --from-file slo.json --yes
# Replace an existing definition
cx slos update --from-file slo.json --yesupdatedeleteeffectedSloAlertIdscx slos getcreateupdatedelete--yesupdatedeleteeffectedSloAlertIds-p <profile>cx-alertscx-telemetry-queryingcx-cases