Skip to content

Commit cd92996

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3fe6297 of spec repo
1 parent 5e34e7b commit cd92996

File tree

64 files changed

+627
-239
lines changed

Some content is hidden

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

64 files changed

+627
-239
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 34 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/FormulaAndFunctionEventQueryGroupBy'
29692966
indexes:
29702967
description: An array of index names to query in the stream. Omit or use
29712968
`[]` to query all indexes at once.
@@ -3021,6 +3018,12 @@ components:
30213018
- query
30223019
type: object
30233020
FormulaAndFunctionEventQueryGroupBy:
3021+
description: Group by configuration for a formula and functions events query.
3022+
Can be a list of facet objects or a flat object with a list of fields.
3023+
oneOf:
3024+
- $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByFacetList'
3025+
- $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByFields'
3026+
FormulaAndFunctionEventQueryGroupByFacet:
30243027
description: List of objects used to group by.
30253028
properties:
30263029
facet:
@@ -3037,6 +3040,33 @@ components:
30373040
required:
30383041
- facet
30393042
type: object
3043+
FormulaAndFunctionEventQueryGroupByFacetList:
3044+
description: List of objects used to group by.
3045+
items:
3046+
$ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByFacet'
3047+
type: array
3048+
FormulaAndFunctionEventQueryGroupByFields:
3049+
description: Flat group by using multiple event facets.
3050+
properties:
3051+
fields:
3052+
description: List of event facets to group by.
3053+
example:
3054+
- hostname
3055+
- service
3056+
items:
3057+
description: Event facet.
3058+
type: string
3059+
type: array
3060+
limit:
3061+
description: Number of groups to return.
3062+
example: 10
3063+
format: int64
3064+
type: integer
3065+
sort:
3066+
$ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupBySort'
3067+
required:
3068+
- fields
3069+
type: object
30403070
FormulaAndFunctionEventQueryGroupBySort:
30413071
description: Options for sorting group by results.
30423072
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\_facet module
932+
-------------------------------------------------------------------------------------------
933+
934+
.. automodule:: datadog_api_client.v1.model.formula_and_function_event_query_group_by_facet
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_1617893815.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
from datadog_api_client.v1.model.formula_and_function_event_query_definition_search import (
2020
FormulaAndFunctionEventQueryDefinitionSearch,
2121
)
22-
from datadog_api_client.v1.model.formula_and_function_event_query_group_by import FormulaAndFunctionEventQueryGroupBy
22+
from datadog_api_client.v1.model.formula_and_function_event_query_group_by_facet import (
23+
FormulaAndFunctionEventQueryGroupByFacet,
24+
)
2325
from datadog_api_client.v1.model.formula_and_function_event_query_group_by_sort import (
2426
FormulaAndFunctionEventQueryGroupBySort,
2527
)
@@ -65,7 +67,7 @@
6567
metric="@duration",
6668
),
6769
group_by=[
68-
FormulaAndFunctionEventQueryGroupBy(
70+
FormulaAndFunctionEventQueryGroupByFacet(
6971
facet="service",
7072
limit=1000,
7173
sort=FormulaAndFunctionEventQueryGroupBySort(

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,

0 commit comments

Comments
 (0)