Skip to content

Commit 2b8913d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2386b270 of spec repo
1 parent 3d0cce2 commit 2b8913d

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-08 14:34:51.506122",
8-
"spec_repo_commit": "4b632dba"
7+
"regenerated": "2025-05-08 19:18:41.941210",
8+
"spec_repo_commit": "2386b270"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-08 14:34:51.522046",
13-
"spec_repo_commit": "4b632dba"
12+
"regenerated": "2025-05-08 19:18:41.958768",
13+
"spec_repo_commit": "2386b270"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -20931,38 +20931,8 @@ components:
2093120931
- space
2093220932
type: object
2093320933
MetricCustomAggregations:
20934-
description: 'A list of queryable aggregation combinations for a count, rate,
20935-
or gauge metric.
20936-
20937-
By default, count and rate metrics require the (time: sum, space: sum) aggregation
20938-
and
20939-
20940-
Gauge metrics require the (time: avg, space: avg) aggregation.
20941-
20942-
Additional time & space combinations are also available:
20943-
20944-
20945-
- time: avg, space: avg
20946-
20947-
- time: avg, space: max
20948-
20949-
- time: avg, space: min
20950-
20951-
- time: avg, space: sum
20952-
20953-
- time: count, space: sum
20954-
20955-
- time: max, space: max
20956-
20957-
- time: min, space: min
20958-
20959-
- time: sum, space: avg
20960-
20961-
- time: sum, space: sum
20962-
20963-
20964-
Can only be applied to non_distribution metrics that have a `metric_type`
20965-
of `count`, `rate`, or `gauge`.'
20934+
description: Deprecated. You no longer need to configure specific time and space
20935+
aggregations for Metrics Without Limits.
2096620936
example:
2096720937
- space: sum
2096820938
time: sum
@@ -50091,8 +50061,7 @@ paths:
5009150061
maximum: 2147483647
5009250062
minimum: 49
5009350063
type: integer
50094-
- description: The number of aggregations that a `count`, `rate`, or `gauge`
50095-
metric is configured to use. Max number of aggregation combos is 9.
50064+
- description: Deprecated. Number of aggregations has no impact on volume.
5009650065
example: 1
5009750066
in: query
5009850067
name: filter[num_aggregations]
@@ -50300,17 +50269,16 @@ paths:
5030050269
description: 'Create and define a list of queryable tag keys for an existing
5030150270
count/gauge/rate/distribution metric.
5030250271

50303-
Optionally, include percentile aggregations on any distribution metric or
50304-
configure custom aggregations
50272+
Optionally, include percentile aggregations on any distribution metric. By
50273+
setting `exclude_tags_mode`
5030550274

50306-
on any count, rate, or gauge metric. By setting `exclude_tags_mode` to true
50307-
the behavior is changed
50275+
to true the behavior is changed from an allow-list to a deny-list, and tags
50276+
in the defined list are
5030850277

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

50312-
Can only be used with application keys of users with the `Manage Tags for
50313-
Metrics` permission.'
50281+
permission.'
5031450282
operationId: CreateTagConfiguration
5031550283
parameters:
5031650284
- $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 are
112+
# not 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 has no 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. You 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. You 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. You 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)