Driftwatch

Datadog / Datadog API v2 /

Breakingdirection flip: their tools call this safe

Response field tags 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 tags on RUMOperationResponseAttributes reachable from 5 operations. Nothing fails at the call; it fails wherever the value is finally used, which is usually somewhere else entirely.

can now be null

Who is affected

Code that reads Datadog's RUMOperationResponseAttributes objects, used by 5 Datadog operations.

Before and after

WhereBeforeAfter
RUMOperationResponseAttributes.tagsarrayarray|null

Code that breaks

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

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