Skip to content

Commit e80da31

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
add rum slo bugfix (#2490)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 72be336 commit e80da31

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

Diff for: .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": "2025-04-07 18:49:41.536548",
8-
"spec_repo_commit": "d0287df0"
7+
"regenerated": "2025-04-08 14:37:44.703187",
8+
"spec_repo_commit": "642b7d0b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-07 18:49:41.551076",
13-
"spec_repo_commit": "d0287df0"
12+
"regenerated": "2025-04-08 14:37:44.802514",
13+
"spec_repo_commit": "642b7d0b"
1414
}
1515
}
1616
}

Diff for: .generator/schemas/v1/openapi.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -3094,11 +3094,13 @@ components:
30943094
description: Name of the query for use in formulas.
30953095
enum:
30963096
- metric
3097+
- monitor
30973098
- time_slice
30983099
example: metric
30993100
type: string
31003101
x-enum-varnames:
31013102
- METRIC
3103+
- MONITOR
31023104
- TIME_SLICE
31033105
FormulaType:
31043106
description: Set the sort type to formula.

Diff for: src/datadog_api_client/v1/model/formula_and_function_slo_query_type.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,17 @@ class FormulaAndFunctionSLOQueryType(ModelSimple):
1616
"""
1717
Name of the query for use in formulas.
1818
19-
:param value: Must be one of ["metric", "time_slice"].
19+
:param value: Must be one of ["metric", "monitor", "time_slice"].
2020
:type value: str
2121
"""
2222

2323
allowed_values = {
2424
"metric",
25+
"monitor",
2526
"time_slice",
2627
}
2728
METRIC: ClassVar["FormulaAndFunctionSLOQueryType"]
29+
MONITOR: ClassVar["FormulaAndFunctionSLOQueryType"]
2830
TIME_SLICE: ClassVar["FormulaAndFunctionSLOQueryType"]
2931

3032
@cached_property
@@ -35,4 +37,5 @@ def openapi_types(_):
3537

3638

3739
FormulaAndFunctionSLOQueryType.METRIC = FormulaAndFunctionSLOQueryType("metric")
40+
FormulaAndFunctionSLOQueryType.MONITOR = FormulaAndFunctionSLOQueryType("monitor")
3841
FormulaAndFunctionSLOQueryType.TIME_SLICE = FormulaAndFunctionSLOQueryType("time_slice")

0 commit comments

Comments
 (0)