Skip to main content

Module types

Module types 

Source
Expand description

Shared response types for the Datadog API.

Populated in subsequent slices as endpoint families land. Kept as a module now so src/datadog.rs declares a stable set of children.

Structs§

Dashboard
A Datadog dashboard returned by GET /api/v1/dashboard/{id}.
DashboardListResponse
Envelope returned by GET /api/v1/dashboard.
DashboardSummary
One row of GET /api/v1/dashboard’s dashboards array.
Downtime
A scheduled downtime as returned by GET /api/v1/downtime.
Event
A single event hit returned by GET /api/v2/events.
EventAttributes
Attributes payload of an event returned by GET /api/v2/events.
EventsMeta
Search-level metadata returned by GET /api/v2/events.
EventsPage
Cursor pagination block returned by GET /api/v2/events.
EventsResponse
Response from GET /api/v2/events.
Host
A reporting host as returned by GET /api/v1/hosts.
HostsResponse
Response envelope for GET /api/v1/hosts.
LogEvent
A single log event hit returned by POST /api/v2/logs/events/search.
LogEventAttributes
Attributes payload of a log event returned by POST /api/v2/logs/events/search.
LogSearchMeta
Search-level metadata returned by POST /api/v2/logs/events/search.
LogSearchPage
Cursor pagination block returned by POST /api/v2/logs/events/search.
LogSearchResult
Response from POST /api/v2/logs/events/search.
MetricCatalogResponse
Response from GET /api/v1/metrics.
MetricQueryResponse
Response from GET /api/v1/query.
MetricSeries
A single series within a Datadog metrics query response.
Monitor
A Datadog monitor as returned by GET /api/v1/monitor and GET /api/v1/monitor/{id}.
MonitorSearchItem
A single hit in GET /api/v1/monitor/search.
MonitorSearchMetadata
Pagination metadata returned by GET /api/v1/monitor/search.
MonitorSearchResult
Response from GET /api/v1/monitor/search.
Slo
A Datadog Service Level Objective as returned by GET /api/v1/slo and GET /api/v1/slo/{id}.
SloGetResponse
Response envelope for GET /api/v1/slo/{id}.
SloListResponse
Response envelope for GET /api/v1/slo.

Enums§

SortOrder
Sort order for POST /api/v2/logs/events/search.

Type Aliases§

MetricPoint
A single (timestamp_ms, value) sample returned by Datadog.