Driftwatch

Datadog / Datadog API v2 /

Breaking

Response field term_length removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects CommitmentsAwsEC2RICommitment reachable from 1 operation.

Who is affected

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

Before and after

WhereBeforeAfter
CommitmentsAwsEC2RICommitment.term_lengthpresentabsent
CommitmentsAwsElasticacheRICommitment.term_lengthpresentabsent
CommitmentsAwsRDSRICommitment.term_lengthpresentabsent
CommitmentsAwsSPCommitment.term_lengthpresentabsent
CommitmentsAzureComputeSPCommitment.term_lengthpresentabsent
CommitmentsAzureVMRICommitment.term_lengthpresentabsent

Code that breaks

// response.term_length is now undefined
const term_length = response.term_length;

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