Skip to content

Commit c90efdc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b1f4bbfd of spec repo
1 parent f0eb715 commit c90efdc

File tree

6 files changed

+23
-14
lines changed

6 files changed

+23
-14
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-04-29 18:57:45.399045",
8-
"spec_repo_commit": "d1252b21"
7+
"regenerated": "2025-04-30 00:24:38.507177",
8+
"spec_repo_commit": "b1f4bbfd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-29 18:57:45.414992",
13-
"spec_repo_commit": "d1252b21"
12+
"regenerated": "2025-04-30 00:24:38.522512",
13+
"spec_repo_commit": "b1f4bbfd"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20803,6 +20803,7 @@ components:
2080320803
- space
2080420804
type: object
2080520805
MetricCustomAggregations:
20806+
deprecated: true
2080620807
description: 'A list of queryable aggregation combinations for a count, rate,
2080720808
or gauge metric.
2080820809

@@ -49413,9 +49414,8 @@ paths:
4941349414
- Metrics
4941449415
/api/v2/metrics/{metric_name}/estimate:
4941549416
get:
49416-
description: Returns the estimated cardinality for a metric with a given tag,
49417-
percentile and number of aggregations configuration using Metrics without
49418-
Limits™.
49417+
description: Returns the estimated cardinality for a metric with a given tag
49418+
and percentile configuration using Metrics without Limits™.
4941949419
operationId: EstimateMetricsOutputSeries
4942049420
parameters:
4942149421
- $ref: '#/components/parameters/MetricName'
@@ -49437,8 +49437,9 @@ paths:
4943749437
maximum: 2147483647
4943849438
minimum: 49
4943949439
type: integer
49440-
- description: The number of aggregations that a `count`, `rate`, or `gauge`
49441-
metric is configured to use. Max number of aggregation combos is 9.
49440+
- deprecated: true
49441+
description: This argument has no effect as all time and space combinations
49442+
are now available with no impact on customer bills.
4944249443
example: 1
4944349444
in: query
4944449445
name: filter[num_aggregations]

src/main/java/com/datadog/api/client/v2/api/MetricsApi.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,8 @@ public EstimateMetricsOutputSeriesOptionalParameters filterHoursAgo(Integer filt
697697
/**
698698
* Set filterNumAggregations.
699699
*
700-
* @param filterNumAggregations The number of aggregations that a <code>count</code>, <code>rate
701-
* </code>, or <code>gauge</code> metric is configured to use. Max number of aggregation
702-
* combos is 9. (optional)
700+
* @param filterNumAggregations This argument has no effect as all time and space combinations
701+
* are now available with no impact on customer bills. (optional)
703702
* @return EstimateMetricsOutputSeriesOptionalParameters
704703
*/
705704
public EstimateMetricsOutputSeriesOptionalParameters filterNumAggregations(
@@ -801,8 +800,8 @@ public CompletableFuture<MetricEstimateResponse> estimateMetricsOutputSeriesAsyn
801800
}
802801

803802
/**
804-
* Returns the estimated cardinality for a metric with a given tag, percentile and number of
805-
* aggregations configuration using Metrics without Limits&trade;.
803+
* Returns the estimated cardinality for a metric with a given tag and percentile configuration
804+
* using Metrics without Limits&trade;.
806805
*
807806
* @param metricName The name of the metric. (required)
808807
* @param parameters Optional parameters for the request.

src/main/java/com/datadog/api/client/v2/model/MetricTagConfigurationAttributes.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,17 @@ public MetricTagConfigurationAttributes addAggregationsItem(
9494
* <code>count</code>, <code>rate</code>, or <code>gauge</code>.
9595
*
9696
* @return aggregations
97+
* @deprecated
9798
*/
99+
@Deprecated
98100
@jakarta.annotation.Nullable
99101
@JsonProperty(JSON_PROPERTY_AGGREGATIONS)
100102
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
101103
public List<MetricCustomAggregation> getAggregations() {
102104
return aggregations;
103105
}
104106

107+
@Deprecated
105108
public void setAggregations(List<MetricCustomAggregation> aggregations) {
106109
this.aggregations = aggregations;
107110
}

src/main/java/com/datadog/api/client/v2/model/MetricTagConfigurationCreateAttributes.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,17 @@ public MetricTagConfigurationCreateAttributes addAggregationsItem(
9999
* <code>count</code>, <code>rate</code>, or <code>gauge</code>.
100100
*
101101
* @return aggregations
102+
* @deprecated
102103
*/
104+
@Deprecated
103105
@jakarta.annotation.Nullable
104106
@JsonProperty(JSON_PROPERTY_AGGREGATIONS)
105107
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
106108
public List<MetricCustomAggregation> getAggregations() {
107109
return aggregations;
108110
}
109111

112+
@Deprecated
110113
public void setAggregations(List<MetricCustomAggregation> aggregations) {
111114
this.aggregations = aggregations;
112115
}

src/main/java/com/datadog/api/client/v2/model/MetricTagConfigurationUpdateAttributes.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,17 @@ public MetricTagConfigurationUpdateAttributes addAggregationsItem(
8282
* <code>count</code>, <code>rate</code>, or <code>gauge</code>.
8383
*
8484
* @return aggregations
85+
* @deprecated
8586
*/
87+
@Deprecated
8688
@jakarta.annotation.Nullable
8789
@JsonProperty(JSON_PROPERTY_AGGREGATIONS)
8890
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
8991
public List<MetricCustomAggregation> getAggregations() {
9092
return aggregations;
9193
}
9294

95+
@Deprecated
9396
public void setAggregations(List<MetricCustomAggregation> aggregations) {
9497
this.aggregations = aggregations;
9598
}

0 commit comments

Comments
 (0)