Expand description
Datadog Events API wrapper.
Exposes a thin façade over DatadogClient for the read-only events
stream (GET /api/v2/events).
Datadog v2 events use cursor pagination via meta.page.after.
EventsApi::list issues a single request optionally seeded with an
after cursor token; EventsApi::list_all auto-paginates up to a
caller-supplied limit (or HARD_CAP when the limit is 0),
mirroring MonitorsApi::list.
Structs§
- Events
Api - Events API façade.
- Events
List Filter - Filters accepted by
GET /api/v2/events.
Constants§
- HARD_
CAP - Per-call upper bound on the number of events returned by
EventsApi::list_all, even when the caller passeslimit = 0. - MAX_
PAGE_ LIMIT - Per-page upper bound enforced by Datadog’s v2 events API.