Skip to content

Commit f8b01da

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit bf6f01a6 of spec repo
1 parent 33230a2 commit f8b01da

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-09 19:42:40.999512",
8-
"spec_repo_commit": "c7bad6f6"
7+
"regenerated": "2025-05-12 17:43:49.153702",
8+
"spec_repo_commit": "bf6f01a6"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-09 19:42:41.015393",
13-
"spec_repo_commit": "c7bad6f6"
12+
"regenerated": "2025-05-12 17:43:49.169230",
13+
"spec_repo_commit": "bf6f01a6"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -21145,38 +21145,8 @@ components:
2114521145
- space
2114621146
type: object
2114721147
MetricCustomAggregations:
21148-
description: 'A list of queryable aggregation combinations for a count, rate,
21149-
or gauge metric.
21150-
21151-
By default, count and rate metrics require the (time: sum, space: sum) aggregation
21152-
and
21153-
21154-
Gauge metrics require the (time: avg, space: avg) aggregation.
21155-
21156-
Additional time & space combinations are also available:
21157-
21158-
21159-
- time: avg, space: avg
21160-
21161-
- time: avg, space: max
21162-
21163-
- time: avg, space: min
21164-
21165-
- time: avg, space: sum
21166-
21167-
- time: count, space: sum
21168-
21169-
- time: max, space: max
21170-
21171-
- time: min, space: min
21172-
21173-
- time: sum, space: avg
21174-
21175-
- time: sum, space: sum
21176-
21177-
21178-
Can only be applied to non_distribution metrics that have a `metric_type`
21179-
of `count`, `rate`, or `gauge`.'
21148+
description: Deprecated. You no longer need to configure specific time and space
21149+
aggregations for Metrics Without Limits.
2118021150
example:
2118121151
- space: sum
2118221152
time: sum
@@ -50192,8 +50162,7 @@ paths:
5019250162
maximum: 2147483647
5019350163
minimum: 49
5019450164
type: integer
50195-
- description: The number of aggregations that a `count`, `rate`, or `gauge`
50196-
metric is configured to use. Max number of aggregation combos is 9.
50165+
- description: Deprecated. Number of aggregations has no impact on volume.
5019750166
example: 1
5019850167
in: query
5019950168
name: filter[num_aggregations]
@@ -50401,17 +50370,16 @@ paths:
5040150370
description: 'Create and define a list of queryable tag keys for an existing
5040250371
count/gauge/rate/distribution metric.
5040350372

50404-
Optionally, include percentile aggregations on any distribution metric or
50405-
configure custom aggregations
50373+
Optionally, include percentile aggregations on any distribution metric. By
50374+
setting `exclude_tags_mode`
5040650375

50407-
on any count, rate, or gauge metric. By setting `exclude_tags_mode` to true
50408-
the behavior is changed
50376+
to true the behavior is changed from an allow-list to a deny-list, and tags
50377+
in the defined list are
5040950378

50410-
from an allow-list to a deny-list, and tags in the defined list will not be
50411-
queryable.
50379+
not queryable. Can only be used with application keys of users with the `Manage
50380+
Tags for Metrics`
5041250381

50413-
Can only be used with application keys of users with the `Manage Tags for
50414-
Metrics` permission.'
50382+
permission.'
5041550383
operationId: CreateTagConfiguration
5041650384
parameters:
5041750385
- $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)