Skip to content

Commit 1918cbb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update v2 API spec to reflect default AWS metric collection behavior (#836)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent db063a3 commit 1918cbb

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.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:38:48.512"
2+
"spec_repo_commit": "e22129c",
3+
"generated": "2025-08-25 17:52:21.968"
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

src/datadogV2/model/model_aws_namespace_filters_exclude_only.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ use serde::{Deserialize, Deserializer, Serialize};
66
use serde_with::skip_serializing_none;
77
use std::fmt::{self, Formatter};
88

9-
/// Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
10-
/// `AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
9+
/// Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
10+
/// `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
1111
#[non_exhaustive]
1212
#[skip_serializing_none]
1313
#[derive(Clone, Debug, PartialEq, Serialize)]
1414
pub struct AWSNamespaceFiltersExcludeOnly {
15-
/// Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
16-
/// `AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
15+
/// Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
16+
/// `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
1717
#[serde(rename = "exclude_only")]
1818
pub exclude_only: Vec<String>,
1919
#[serde(flatten)]

0 commit comments

Comments
 (0)