Skip to main content

Module monitors_api

Module monitors_api 

Source
Expand description

Datadog Monitors API wrapper.

Exposes a thin façade over DatadogClient for the read-only monitor endpoints needed by the CLI: list, get, and search. List and search auto-paginate when called with limit == 0, capped at HARD_CAP per the Phase 1 decisions on #619.

Structs§

MonitorListFilter
Filters accepted by GET /api/v1/monitor.
MonitorsApi
Monitors API façade.

Constants§

HARD_CAP
Per-call upper bound on the number of monitors returned, even when the caller passes limit = 0 (fetch-all).
LIST_PAGE_SIZE
Default page size used when paginating list / search responses.