Driftwatch

Datadog / Datadog API v2 /

Breakingdirection flip: their tools call this safe

value can now return "traces"

What changed

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects this value on ObservabilityPipelineConfigPipelineType reachable from 5 operations.

New value: traces.

can now return "traces"

Who is affected

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

Before and after

WhereBeforeAfter
ObservabilityPipelineConfigPipelineType"logs", "metrics""logs", "metrics", "traces"

Code that breaks

switch (response) {
  // existing branches …
  // no branch for "traces"
  default:
    throw new Error("unexpected value");
}

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