Skip to main content

Module slo_api

Module slo_api 

Source
Expand description

Datadog SLO API wrapper.

Exposes a thin façade over DatadogClient for the read-only Service Level Objective endpoints needed by the CLI: list and get. List auto-paginates when called with limit == 0, capped at HARD_CAP.

Structs§

SloApi
SLO API façade.
SloListFilter
Filters accepted by GET /api/v1/slo.

Constants§

HARD_CAP
Per-call upper bound on the number of SLOs returned.
LIST_PAGE_SIZE
Default page size. Datadog’s /api/v1/slo accepts up to 1000 per page; 50 keeps payloads small and matches the UI’s default.