Driftwatch

Datadog / Datadog API v2 /

Breakingdirection flip: their tools call this safe

Response field counts_by_issue_type is no longer guaranteed

What changed

Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

Affects counts_by_issue_type on AgentHealthIssuesResponsePage reachable from 1 operation. Nothing fails at the call; it fails wherever the value is finally used, which is usually somewhere else entirely.

no longer guaranteed present

Who is affected

Code that reads Datadog's AgentHealthIssuesResponsePage objects, used by 1 Datadog operation.

Before and after

WhereBeforeAfter
AgentHealthIssuesResponsePage.counts_by_issue_typealways presentmay be missing

Code that breaks

// response.counts_by_issue_type may now be absent or null
const counts_by_issue_type = response.counts_by_issue_type ?? fallback;

Based on Datadog’s published API specification. How severity is decided.