Skip to content

Commit 53d537a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Update limit information for cross-product event queries (#1663)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent dc91729 commit 53d537a

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.apigentools-info

+4-4
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": "2024-06-18 16:37:25.097845",
8-
"spec_repo_commit": "848af7a9"
7+
"regenerated": "2024-06-19 10:10:02.694294",
8+
"spec_repo_commit": "4edb50e4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-06-18 16:37:25.115736",
13-
"spec_repo_commit": "848af7a9"
12+
"regenerated": "2024-06-19 10:10:02.712004",
13+
"spec_repo_commit": "4edb50e4"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -7402,10 +7402,15 @@ components:
74027402
example: '@error.type'
74037403
type: string
74047404
limit:
7405-
description: The maximum number of groups to return.
7405+
default: 10
7406+
description: 'The maximum buckets to return for this group by. Note: at
7407+
most 10000 buckets are allowed.
7408+
7409+
If grouping by multiple facets, the product of limits must not exceed
7410+
10000.'
74067411
example: 10
74077412
format: int32
7408-
maximum: 2147483647
7413+
maximum: 10000
74097414
type: integer
74107415
sort:
74117416
$ref: '#/components/schemas/EventsGroupBySort'

packages/datadog-api-client-v2/models/EventsGroupBy.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export class EventsGroupBy {
1616
*/
1717
"facet": string;
1818
/**
19-
* The maximum number of groups to return.
19+
* The maximum buckets to return for this group by. Note: at most 10000 buckets are allowed.
20+
* If grouping by multiple facets, the product of limits must not exceed 10000.
2021
*/
2122
"limit"?: number;
2223
/**

0 commit comments

Comments
 (0)