Skip to content

Commit fec4735

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit adcbe82f of spec repo
1 parent 5d8d38d commit fec4735

File tree

6 files changed

+23
-99
lines changed

6 files changed

+23
-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-07 17:07:22.766765",
8-
"spec_repo_commit": "a1235a0d"
7+
"regenerated": "2025-05-07 20:39:58.581903",
8+
"spec_repo_commit": "adcbe82f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-07 17:07:22.783724",
13-
"spec_repo_commit": "a1235a0d"
12+
"regenerated": "2025-05-07 20:39:58.597843",
13+
"spec_repo_commit": "adcbe82f"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -20932,38 +20932,8 @@ components:
2093220932
- space
2093320933
type: object
2093420934
MetricCustomAggregations:
20935-
description: 'A list of queryable aggregation combinations for a count, rate,
20936-
or gauge metric.
20937-
20938-
By default, count and rate metrics require the (time: sum, space: sum) aggregation
20939-
and
20940-
20941-
Gauge metrics require the (time: avg, space: avg) aggregation.
20942-
20943-
Additional time & space combinations are also available:
20944-
20945-
20946-
- time: avg, space: avg
20947-
20948-
- time: avg, space: max
20949-
20950-
- time: avg, space: min
20951-
20952-
- time: avg, space: sum
20953-
20954-
- time: count, space: sum
20955-
20956-
- time: max, space: max
20957-
20958-
- time: min, space: min
20959-
20960-
- time: sum, space: avg
20961-
20962-
- time: sum, space: sum
20963-
20964-
20965-
Can only be applied to non_distribution metrics that have a `metric_type`
20966-
of `count`, `rate`, or `gauge`.'
20935+
description: DEPRECATED. Users no longer need to configure specific time and
20936+
space aggregations for Metrics Without Limits.
2096720937
example:
2096820938
- space: sum
2096920939
time: sum
@@ -50092,8 +50062,8 @@ paths:
5009250062
maximum: 2147483647
5009350063
minimum: 49
5009450064
type: integer
50095-
- description: The number of aggregations that a `count`, `rate`, or `gauge`
50096-
metric is configured to use. Max number of aggregation combos is 9.
50065+
- description: DEPRECATED. Number of aggregations no longer has any impact on
50066+
volume.
5009750067
example: 1
5009850068
in: query
5009950069
name: filter[num_aggregations]
@@ -50301,17 +50271,16 @@ paths:
5030150271
description: 'Create and define a list of queryable tag keys for an existing
5030250272
count/gauge/rate/distribution metric.
5030350273

50304-
Optionally, include percentile aggregations on any distribution metric or
50305-
configure custom aggregations
50274+
Optionally, include percentile aggregations on any distribution metric. By
50275+
setting `exclude_tags_mode`
5030650276

50307-
on any count, rate, or gauge metric. By setting `exclude_tags_mode` to true
50308-
the behavior is changed
50277+
to true the behavior is changed from an allow-list to a deny-list, and tags
50278+
in the defined list will
5030950279

50310-
from an allow-list to a deny-list, and tags in the defined list will not be
50311-
queryable.
50280+
not be queryable. Can only be used with application keys of users with the
50281+
`Manage Tags for Metrics`
5031250282

50313-
Can only be used with application keys of users with the `Manage Tags for
50314-
Metrics` permission.'
50283+
permission.'
5031550284
operationId: CreateTagConfiguration
5031650285
parameters:
5031750286
- $ref: '#/components/parameters/MetricName'

lib/datadog_api_client/v2/api/metrics_api.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ def create_tag_configuration(metric_name, body, opts = {})
107107
# Create a tag configuration.
108108
#
109109
# Create and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric.
110-
# Optionally, include percentile aggregations on any distribution metric or configure custom aggregations
111-
# on any count, rate, or gauge metric. By setting `exclude_tags_mode` to true the behavior is changed
112-
# from an allow-list to a deny-list, and tags in the defined list will not be queryable.
113-
# Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
110+
# Optionally, include percentile aggregations on any distribution metric. By setting `exclude_tags_mode`
111+
# to true the behavior is changed from an allow-list to a deny-list, and tags in the defined list will
112+
# not be queryable. Can only be used with application keys of users with the `Manage Tags for Metrics`
113+
# permission.
114114
#
115115
# @param metric_name [String] The name of the metric.
116116
# @param body [MetricTagConfigurationCreateRequest]
@@ -324,7 +324,7 @@ def estimate_metrics_output_series(metric_name, opts = {})
324324
# @param opts [Hash] the optional parameters
325325
# @option opts [String] :filter_groups Filtered tag keys that the metric is configured to query with.
326326
# @option opts [Integer] :filter_hours_ago The number of hours of look back (from now) to estimate cardinality with. If unspecified, it defaults to 0 hours.
327-
# @option opts [Integer] :filter_num_aggregations The number of aggregations that a `count`, `rate`, or `gauge` metric is configured to use. Max number of aggregation combos is 9.
327+
# @option opts [Integer] :filter_num_aggregations DEPRECATED. Number of aggregations no longer has any impact on volume.
328328
# @option opts [Boolean] :filter_pct A boolean, for distribution metrics only, to estimate cardinality if the metric includes additional percentile aggregators.
329329
# @option opts [Integer] :filter_timespan_h A window, in hours, from the look back to estimate cardinality with. The minimum and default is 1 hour.
330330
# @return [Array<(MetricEstimateResponse, Integer, Hash)>] MetricEstimateResponse data, response status code and response headers

lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,7 @@ module DatadogAPIClient::V2
2121
class MetricTagConfigurationAttributes
2222
include BaseGenericModel
2323

24-
# A list of queryable aggregation combinations for a count, rate, or gauge metric.
25-
# By default, count and rate metrics require the (time: sum, space: sum) aggregation and
26-
# Gauge metrics require the (time: avg, space: avg) aggregation.
27-
# Additional time & space combinations are also available:
28-
#
29-
# - time: avg, space: avg
30-
# - time: avg, space: max
31-
# - time: avg, space: min
32-
# - time: avg, space: sum
33-
# - time: count, space: sum
34-
# - time: max, space: max
35-
# - time: min, space: min
36-
# - time: sum, space: avg
37-
# - time: sum, space: sum
38-
#
39-
# Can only be applied to non_distribution metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
24+
# DEPRECATED. Users no longer need to configure specific time and space aggregations for Metrics Without Limits.
4025
attr_accessor :aggregations
4126

4227
# Timestamp when the tag configuration was created.

lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,7 @@ module DatadogAPIClient::V2
2121
class MetricTagConfigurationCreateAttributes
2222
include BaseGenericModel
2323

24-
# A list of queryable aggregation combinations for a count, rate, or gauge metric.
25-
# By default, count and rate metrics require the (time: sum, space: sum) aggregation and
26-
# Gauge metrics require the (time: avg, space: avg) aggregation.
27-
# Additional time & space combinations are also available:
28-
#
29-
# - time: avg, space: avg
30-
# - time: avg, space: max
31-
# - time: avg, space: min
32-
# - time: avg, space: sum
33-
# - time: count, space: sum
34-
# - time: max, space: max
35-
# - time: min, space: min
36-
# - time: sum, space: avg
37-
# - time: sum, space: sum
38-
#
39-
# Can only be applied to non_distribution metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
24+
# DEPRECATED. Users no longer need to configure specific time and space aggregations for Metrics Without Limits.
4025
attr_accessor :aggregations
4126

4227
# When set to true, the configuration will exclude the configured tags and include any other submitted tags.

lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,7 @@ module DatadogAPIClient::V2
2121
class MetricTagConfigurationUpdateAttributes
2222
include BaseGenericModel
2323

24-
# A list of queryable aggregation combinations for a count, rate, or gauge metric.
25-
# By default, count and rate metrics require the (time: sum, space: sum) aggregation and
26-
# Gauge metrics require the (time: avg, space: avg) aggregation.
27-
# Additional time & space combinations are also available:
28-
#
29-
# - time: avg, space: avg
30-
# - time: avg, space: max
31-
# - time: avg, space: min
32-
# - time: avg, space: sum
33-
# - time: count, space: sum
34-
# - time: max, space: max
35-
# - time: min, space: min
36-
# - time: sum, space: avg
37-
# - time: sum, space: sum
38-
#
39-
# Can only be applied to non_distribution metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
24+
# DEPRECATED. Users no longer need to configure specific time and space aggregations for Metrics Without Limits.
4025
attr_accessor :aggregations
4126

4227
# When set to true, the configuration will exclude the configured tags and include any other submitted tags.

0 commit comments

Comments
 (0)