File tree Expand file tree Collapse file tree 4 files changed +30
-6
lines changed
packages/datadog-api-client-v2 Expand file tree Collapse file tree 4 files changed +30
-6
lines changed Original file line number Diff line number Diff line change 4
4
"spec_versions": {
5
5
"v1": {
6
6
"apigentools_version": "1.6.6",
7
- "regenerated": "2023-11-09 10:45:50.100089 ",
8
- "spec_repo_commit": "66a4cef6 "
7
+ "regenerated": "2023-11-09 22:07:37.183507 ",
8
+ "spec_repo_commit": "893a406f "
9
9
},
10
10
"v2": {
11
11
"apigentools_version": "1.6.6",
12
- "regenerated": "2023-11-09 10:45:50.114929 ",
13
- "spec_repo_commit": "66a4cef6 "
12
+ "regenerated": "2023-11-09 22:07:37.197393 ",
13
+ "spec_repo_commit": "893a406f "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -10301,6 +10301,15 @@ components:
10301
10301
properties:
10302
10302
aggregations:
10303
10303
$ref: '#/components/schemas/MetricCustomAggregations'
10304
+ exclude_tags_mode:
10305
+ description: 'When set to true, the configuration will exclude the configured
10306
+ tags and include any other submitted tags.
10307
+
10308
+ When set to false, the configuration will include the configured tags
10309
+ and exclude any other submitted tags.
10310
+
10311
+ Defaults to false. Requires `tags` property.'
10312
+ type: boolean
10304
10313
include_percentiles:
10305
10314
description: 'Toggle to include/exclude percentiles for a distribution metric.
10306
10315
@@ -24357,7 +24366,11 @@ paths:
24357
24366
description: 'Update the tag configuration of a metric or percentile aggregations
24358
24367
of a distribution metric or custom aggregations
24359
24368
24360
- of a count, rate, or gauge metric.
24369
+ of a count, rate, or gauge metric. By setting `exclude_tags_mode` to true
24370
+ the behavior is changed
24371
+
24372
+ from an allow-list to a deny-list, and tags in the defined list will not be
24373
+ queryable.
24361
24374
24362
24375
Can only be used with application keys from users with the `Manage Tags for
24363
24376
Metrics` permission.'
Original file line number Diff line number Diff line change @@ -2117,7 +2117,8 @@ export class MetricsApi {
2117
2117
2118
2118
/**
2119
2119
* Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations
2120
- * of a count, rate, or gauge metric.
2120
+ * of a count, rate, or gauge metric. By setting `exclude_tags_mode` to true the behavior is changed
2121
+ * from an allow-list to a deny-list, and tags in the defined list will not be queryable.
2121
2122
* Can only be used with application keys from users with the `Manage Tags for Metrics` permission.
2122
2123
* @param param The request object
2123
2124
*/
Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ export class MetricTagConfigurationUpdateAttributes {
30
30
* Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
31
31
*/
32
32
"aggregations" ?: Array < MetricCustomAggregation > ;
33
+ /**
34
+ * When set to true, the configuration will exclude the configured tags and include any other submitted tags.
35
+ * When set to false, the configuration will include the configured tags and exclude any other submitted tags.
36
+ * Defaults to false. Requires `tags` property.
37
+ */
38
+ "excludeTagsMode" ?: boolean ;
33
39
/**
34
40
* Toggle to include/exclude percentiles for a distribution metric.
35
41
* Defaults to false. Can only be applied to metrics that have a `metric_type` of `distribution`.
@@ -53,6 +59,10 @@ export class MetricTagConfigurationUpdateAttributes {
53
59
baseName : "aggregations" ,
54
60
type : "Array<MetricCustomAggregation>" ,
55
61
} ,
62
+ excludeTagsMode : {
63
+ baseName : "exclude_tags_mode" ,
64
+ type : "boolean" ,
65
+ } ,
56
66
includePercentiles : {
57
67
baseName : "include_percentiles" ,
58
68
type : "boolean" ,
You can’t perform that action at this time.
0 commit comments