Skip to content

Commit 6bcc85c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Mark aggregations arguments as deprecated since they're no longer needed (#2224)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 8db4aba commit 6bcc85c

File tree

6 files changed

+22
-99
lines changed

6 files changed

+22
-99
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-05-14 14:49:44.322804",
8-
"spec_repo_commit": "90c6252d"
7+
"regenerated": "2025-05-14 15:44:19.067688",
8+
"spec_repo_commit": "64f5e7ee"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-14 14:49:44.341464",
13-
"spec_repo_commit": "90c6252d"
12+
"regenerated": "2025-05-14 15:44:19.084378",
13+
"spec_repo_commit": "64f5e7ee"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -21171,38 +21171,8 @@ components:
2117121171
- space
2117221172
type: object
2117321173
MetricCustomAggregations:
21174-
description: 'A list of queryable aggregation combinations for a count, rate,
21175-
or gauge metric.
21176-
21177-
By default, count and rate metrics require the (time: sum, space: sum) aggregation
21178-
and
21179-
21180-
Gauge metrics require the (time: avg, space: avg) aggregation.
21181-
21182-
Additional time & space combinations are also available:
21183-
21184-
21185-
- time: avg, space: avg
21186-
21187-
- time: avg, space: max
21188-
21189-
- time: avg, space: min
21190-
21191-
- time: avg, space: sum
21192-
21193-
- time: count, space: sum
21194-
21195-
- time: max, space: max
21196-
21197-
- time: min, space: min
21198-
21199-
- time: sum, space: avg
21200-
21201-
- time: sum, space: sum
21202-
21203-
21204-
Can only be applied to non_distribution metrics that have a `metric_type`
21205-
of `count`, `rate`, or `gauge`.'
21174+
description: Deprecated. You no longer need to configure specific time and space
21175+
aggregations for Metrics Without Limits.
2120621176
example:
2120721177
- space: sum
2120821178
time: sum
@@ -50186,8 +50156,7 @@ paths:
5018650156
maximum: 2147483647
5018750157
minimum: 49
5018850158
type: integer
50189-
- description: The number of aggregations that a `count`, `rate`, or `gauge`
50190-
metric is configured to use. Max number of aggregation combos is 9.
50159+
- description: Deprecated. Number of aggregations has no impact on volume.
5019150160
example: 1
5019250161
in: query
5019350162
name: filter[num_aggregations]
@@ -50395,17 +50364,16 @@ paths:
5039550364
description: 'Create and define a list of queryable tag keys for an existing
5039650365
count/gauge/rate/distribution metric.
5039750366

50398-
Optionally, include percentile aggregations on any distribution metric or
50399-
configure custom aggregations
50367+
Optionally, include percentile aggregations on any distribution metric. By
50368+
setting `exclude_tags_mode`
5040050369

50401-
on any count, rate, or gauge metric. By setting `exclude_tags_mode` to true
50402-
the behavior is changed
50370+
to true, the behavior is changed from an allow-list to a deny-list, and tags
50371+
in the defined list are
5040350372

50404-
from an allow-list to a deny-list, and tags in the defined list will not be
50405-
queryable.
50373+
not queryable. Can only be used with application keys of users with the `Manage
50374+
Tags for Metrics`
5040650375

50407-
Can only be used with application keys of users with the `Manage Tags for
50408-
Metrics` permission.'
50376+
permission.'
5040950377
operationId: CreateTagConfiguration
5041050378
parameters:
5041150379
- $ref: '#/components/parameters/MetricName'

packages/datadog-api-client-v2/apis/MetricsApi.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ export interface MetricsApiEstimateMetricsOutputSeriesRequest {
17561756
*/
17571757
filterHoursAgo?: number;
17581758
/**
1759-
* The number of aggregations that a `count`, `rate`, or `gauge` metric is configured to use. Max number of aggregation combos is 9.
1759+
* Deprecated. Number of aggregations has no impact on volume.
17601760
* @type number
17611761
*/
17621762
filterNumAggregations?: number;
@@ -1964,10 +1964,10 @@ export class MetricsApi {
19641964

19651965
/**
19661966
* Create and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric.
1967-
* Optionally, include percentile aggregations on any distribution metric or configure custom aggregations
1968-
* on any count, rate, or gauge metric. By setting `exclude_tags_mode` to true the behavior is changed
1969-
* from an allow-list to a deny-list, and tags in the defined list will not be queryable.
1970-
* Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
1967+
* Optionally, include percentile aggregations on any distribution metric. By setting `exclude_tags_mode`
1968+
* to true, the behavior is changed from an allow-list to a deny-list, and tags in the defined list are
1969+
* not queryable. Can only be used with application keys of users with the `Manage Tags for Metrics`
1970+
* permission.
19711971
* @param param The request object
19721972
*/
19731973
public createTagConfiguration(

packages/datadog-api-client-v2/models/MetricTagConfigurationAttributes.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1313
*/
1414
export class MetricTagConfigurationAttributes {
1515
/**
16-
* A list of queryable aggregation combinations for a count, rate, or gauge metric.
17-
* By default, count and rate metrics require the (time: sum, space: sum) aggregation and
18-
* Gauge metrics require the (time: avg, space: avg) aggregation.
19-
* Additional time & space combinations are also available:
20-
*
21-
* - time: avg, space: avg
22-
* - time: avg, space: max
23-
* - time: avg, space: min
24-
* - time: avg, space: sum
25-
* - time: count, space: sum
26-
* - time: max, space: max
27-
* - time: min, space: min
28-
* - time: sum, space: avg
29-
* - time: sum, space: sum
30-
*
31-
* Can only be applied to non_distribution metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
16+
* Deprecated. You no longer need to configure specific time and space aggregations for Metrics Without Limits.
3217
*/
3318
"aggregations"?: Array<MetricCustomAggregation>;
3419
/**

packages/datadog-api-client-v2/models/MetricTagConfigurationCreateAttributes.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1313
*/
1414
export class MetricTagConfigurationCreateAttributes {
1515
/**
16-
* A list of queryable aggregation combinations for a count, rate, or gauge metric.
17-
* By default, count and rate metrics require the (time: sum, space: sum) aggregation and
18-
* Gauge metrics require the (time: avg, space: avg) aggregation.
19-
* Additional time & space combinations are also available:
20-
*
21-
* - time: avg, space: avg
22-
* - time: avg, space: max
23-
* - time: avg, space: min
24-
* - time: avg, space: sum
25-
* - time: count, space: sum
26-
* - time: max, space: max
27-
* - time: min, space: min
28-
* - time: sum, space: avg
29-
* - time: sum, space: sum
30-
*
31-
* Can only be applied to non_distribution metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
16+
* Deprecated. You no longer need to configure specific time and space aggregations for Metrics Without Limits.
3217
*/
3318
"aggregations"?: Array<MetricCustomAggregation>;
3419
/**

packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateAttributes.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1212
*/
1313
export class MetricTagConfigurationUpdateAttributes {
1414
/**
15-
* A list of queryable aggregation combinations for a count, rate, or gauge metric.
16-
* By default, count and rate metrics require the (time: sum, space: sum) aggregation and
17-
* Gauge metrics require the (time: avg, space: avg) aggregation.
18-
* Additional time & space combinations are also available:
19-
*
20-
* - time: avg, space: avg
21-
* - time: avg, space: max
22-
* - time: avg, space: min
23-
* - time: avg, space: sum
24-
* - time: count, space: sum
25-
* - time: max, space: max
26-
* - time: min, space: min
27-
* - time: sum, space: avg
28-
* - time: sum, space: sum
29-
*
30-
* Can only be applied to non_distribution metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
15+
* Deprecated. You no longer need to configure specific time and space aggregations for Metrics Without Limits.
3116
*/
3217
"aggregations"?: Array<MetricCustomAggregation>;
3318
/**

0 commit comments

Comments
 (0)