Skip to content

Commit 16ab702

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update v2 API spec to reflect default AWS metric collection behavior (#3269)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent ba3d819 commit 16ab702

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "55aea96",
3-
"generated": "2025-08-25 15:35:12.541"
2+
"spec_repo_commit": "e22129c",
3+
"generated": "2025-08-25 17:49:14.050"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,20 +1764,21 @@ components:
17641764
- $ref: '#/components/schemas/AWSNamespaceFiltersIncludeOnly'
17651765
AWSNamespaceFiltersExcludeOnly:
17661766
description: 'Exclude only these namespaces from metrics collection. Defaults
1767-
to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
1767+
to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
17681768

1769-
`AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your
1770-
AWS CloudWatch costs from `GetMetricData` API calls.'
1769+
`AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default
1770+
to reduce your AWS CloudWatch costs from `GetMetricData` API calls.'
17711771
properties:
17721772
exclude_only:
17731773
description: 'Exclude only these namespaces from metrics collection. Defaults
1774-
to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
1774+
to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
17751775

1776-
`AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce
1777-
your AWS CloudWatch costs from `GetMetricData` API calls.'
1776+
`AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default
1777+
to reduce your AWS CloudWatch costs from `GetMetricData` API calls.'
17781778
example:
17791779
- AWS/SQS
17801780
- AWS/ElasticMapReduce
1781+
- AWS/Usage
17811782
items:
17821783
example: AWS/SQS
17831784
type: string

api/datadogV2/model_aws_namespace_filters_exclude_only.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
1111
)
1212

13-
// AWSNamespaceFiltersExcludeOnly Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
14-
// `AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
13+
// AWSNamespaceFiltersExcludeOnly Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
14+
// `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
1515
type AWSNamespaceFiltersExcludeOnly struct {
16-
// Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
17-
// `AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
16+
// Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
17+
// `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
1818
ExcludeOnly []string `json:"exclude_only"`
1919
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
2020
UnparsedObject map[string]interface{} `json:"-"`

0 commit comments

Comments
 (0)