Skip to content

Commit 0970759

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update limit information for cross-product event queries (#148)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent a156c97 commit 0970759

File tree

3 files changed

+13
-7
lines changed

3 files changed

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

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 2 deletions
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'

src/datadogV2/model/model_events_group_by.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ pub struct EventsGroupBy {
1414
/// The facet by which to split groups.
1515
#[serde(rename = "facet")]
1616
pub facet: String,
17-
/// The maximum number of groups to return.
17+
/// The maximum buckets to return for this group by. Note: at most 10000 buckets are allowed.
18+
/// If grouping by multiple facets, the product of limits must not exceed 10000.
1819
#[serde(rename = "limit")]
1920
pub limit: Option<i32>,
2021
/// The dimension by which to sort a query's results.

0 commit comments

Comments
 (0)