What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects this value on MetricTagConfigurationMetricTypes reachable from 4 operations.
New values: explicit_histogram, exponential_histogram.
can now return "explicit_histogram", "exponential_histogram"
Who is affected
Code that reads Datadog's MetricTagConfigurationMetricTypes objects, used by 4 Datadog operations.
Before and after
| Where | Before | After |
|---|---|---|
| MetricTagConfigurationMetricTypes | "count", "distribution", "gauge", "rate" | "count", "distribution", "explicit_histogram", "exponential_histogram", "gauge", "rate" |
Code that breaks
switch (response) {
// existing branches …
// no branch for "explicit_histogram"
// no branch for "exponential_histogram"
default:
throw new Error("unexpected value");
}Based on Datadog’s published API specification. How severity is decided.