Skip to content

Commit 06e14b6

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 6846005 of spec repo (#3230)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent dce1277 commit 06e14b6

File tree

59 files changed

+570
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+570
-188
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2962,10 +2962,7 @@ components:
29622962
data_source:
29632963
$ref: '#/components/schemas/FormulaAndFunctionEventsDataSource'
29642964
group_by:
2965-
description: Group by options.
2966-
items:
2967-
$ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupBy'
2968-
type: array
2965+
$ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByConfig'
29692966
indexes:
29702967
description: An array of index names to query in the stream. Omit or use
29712968
`[]` to query all indexes at once.
@@ -3037,6 +3034,40 @@ components:
30373034
required:
30383035
- facet
30393036
type: object
3037+
FormulaAndFunctionEventQueryGroupByConfig:
3038+
description: Group by configuration for a formula and functions events query.
3039+
Accepts either a list of facet objects or a flat object that specifies a list
3040+
of facet fields.
3041+
oneOf:
3042+
- $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByList'
3043+
- $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByFields'
3044+
FormulaAndFunctionEventQueryGroupByFields:
3045+
description: Flat group by configuration using multiple event facet fields.
3046+
properties:
3047+
fields:
3048+
description: List of event facets to group by.
3049+
example:
3050+
- hostname
3051+
- service
3052+
items:
3053+
description: Event facet.
3054+
type: string
3055+
type: array
3056+
limit:
3057+
description: Number of groups to return.
3058+
example: 10
3059+
format: int64
3060+
type: integer
3061+
sort:
3062+
$ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupBySort'
3063+
required:
3064+
- fields
3065+
type: object
3066+
FormulaAndFunctionEventQueryGroupByList:
3067+
description: List of objects used to group by.
3068+
items:
3069+
$ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupBy'
3070+
type: array
30403071
FormulaAndFunctionEventQueryGroupBySort:
30413072
description: Options for sorting group by results.
30423073
properties:

docs/datadog_api_client.v1.model.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,20 @@ datadog\_api\_client.v1.model.formula\_and\_function\_event\_query\_group\_by mo
928928
:members:
929929
:show-inheritance:
930930

931+
datadog\_api\_client.v1.model.formula\_and\_function\_event\_query\_group\_by\_config module
932+
--------------------------------------------------------------------------------------------
933+
934+
.. automodule:: datadog_api_client.v1.model.formula_and_function_event_query_group_by_config
935+
:members:
936+
:show-inheritance:
937+
938+
datadog\_api\_client.v1.model.formula\_and\_function\_event\_query\_group\_by\_fields module
939+
--------------------------------------------------------------------------------------------
940+
941+
.. automodule:: datadog_api_client.v1.model.formula_and_function_event_query_group_by_fields
942+
:members:
943+
:show-inheritance:
944+
931945
datadog\_api\_client.v1.model.formula\_and\_function\_event\_query\_group\_by\_sort module
932946
------------------------------------------------------------------------------------------
933947

examples/v1/dashboards/CreateDashboard_1024858348.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
compute=FormulaAndFunctionEventQueryDefinitionCompute(
5656
aggregation=FormulaAndFunctionEventAggregation.COUNT,
5757
),
58-
group_by=[],
5958
),
6059
],
6160
response_format=FormulaAndFunctionResponseFormat.SCALAR,

examples/v1/dashboards/CreateDashboard_1307120899.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
compute=FormulaAndFunctionEventQueryDefinitionCompute(
7070
aggregation=FormulaAndFunctionEventAggregation.COUNT,
7171
),
72-
group_by=[],
7372
),
7473
],
7574
response_format=FormulaAndFunctionResponseFormat.TIMESERIES,

examples/v1/dashboards/CreateDashboard_2064651578.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
compute=FormulaAndFunctionEventQueryDefinitionCompute(
6565
aggregation=FormulaAndFunctionEventAggregation.COUNT,
6666
),
67-
group_by=[],
6867
),
6968
],
7069
response_format=FormulaAndFunctionResponseFormat.SCALAR,

examples/v1/dashboards/CreateDashboard_2490110261.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
indexes=[
4848
"*",
4949
],
50-
group_by=[],
5150
),
5251
],
5352
),

examples/v1/dashboards/CreateDashboard_2800096921.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
aggregation=FormulaAndFunctionEventAggregation.COUNT,
7171
metric="@ci.queue_time",
7272
),
73-
group_by=[],
7473
),
7574
],
7675
response_format=FormulaAndFunctionResponseFormat.TIMESERIES,

examples/v1/dashboards/CreateDashboard_3066042014.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
aggregation=FormulaAndFunctionEventAggregation.COUNT,
7878
metric="@ci.queue_time",
7979
),
80-
group_by=[],
8180
),
8281
],
8382
response_format=FormulaAndFunctionResponseFormat.TIMESERIES,

examples/v1/dashboards/CreateDashboard_3451918078.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
aggregation=FormulaAndFunctionEventAggregation.COUNT,
7777
metric="@ci.queue_time",
7878
),
79-
group_by=[],
8079
),
8180
],
8281
response_format=FormulaAndFunctionResponseFormat.TIMESERIES,

examples/v1/dashboards/CreateDashboard_3669695268.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
compute=FormulaAndFunctionEventQueryDefinitionCompute(
5252
aggregation=FormulaAndFunctionEventAggregation.COUNT,
5353
),
54-
group_by=[],
5554
storage="online_archives",
5655
),
5756
],

0 commit comments

Comments
 (0)