SLOs
Preview the uptime an alert would produce as an SLI source
Returns the ledger intervals for the ribbon plus the achieved SLI and the coverage behind it — the alert analogue of the time-slice preview. Computed by the same fold the ingest pass runs, so the preview cannot disagree with the SLO it is previewing.
get/api/v2/{org_id}/alerts/{alert_id}/slo-preview
Request
- Base URLhttps://api.openobserve.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
org_idstring required
Organization identifier
alert_idstring required
Source alert identifier
Query parameters
window_secsinteger required
Rolling window in seconds
slice_interval_secsinteger required
Slice width in seconds
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.