Skip to content

Commit f1975bd

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Adds database queries enum (#2386)
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 e9cebce commit f1975bd

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
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-02-23 10:58:55.431477",
8-
"spec_repo_commit": "86101285"
7+
"regenerated": "2024-02-23 12:49:42.710783",
8+
"spec_repo_commit": "30d313fd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-02-23 10:58:55.450730",
13-
"spec_repo_commit": "86101285"
12+
"regenerated": "2024-02-23 12:49:42.726235",
13+
"spec_repo_commit": "30d313fd"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6764,6 +6764,7 @@ components:
67646764
- events
67656765
- logs
67666766
- spans
6767+
- database_queries
67676768
example: rum
67686769
type: string
67696770
x-enum-varnames:
@@ -6774,6 +6775,7 @@ components:
67746775
- EVENTS
67756776
- LOGS
67766777
- SPANS
6778+
- DATABASE_QUERIES
67776779
MonitorFormulaAndFunctionQueryDefinition:
67786780
description: A formula and function query.
67796781
oneOf:

api/datadogV1/model_monitor_formula_and_function_events_data_source.go

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ type MonitorFormulaAndFunctionEventsDataSource string
1515

1616
// List of MonitorFormulaAndFunctionEventsDataSource.
1717
const (
18-
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_RUM MonitorFormulaAndFunctionEventsDataSource = "rum"
19-
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_PIPELINES MonitorFormulaAndFunctionEventsDataSource = "ci_pipelines"
20-
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_TESTS MonitorFormulaAndFunctionEventsDataSource = "ci_tests"
21-
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_AUDIT MonitorFormulaAndFunctionEventsDataSource = "audit"
22-
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_EVENTS MonitorFormulaAndFunctionEventsDataSource = "events"
23-
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_LOGS MonitorFormulaAndFunctionEventsDataSource = "logs"
24-
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_SPANS MonitorFormulaAndFunctionEventsDataSource = "spans"
18+
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_RUM MonitorFormulaAndFunctionEventsDataSource = "rum"
19+
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_PIPELINES MonitorFormulaAndFunctionEventsDataSource = "ci_pipelines"
20+
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_TESTS MonitorFormulaAndFunctionEventsDataSource = "ci_tests"
21+
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_AUDIT MonitorFormulaAndFunctionEventsDataSource = "audit"
22+
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_EVENTS MonitorFormulaAndFunctionEventsDataSource = "events"
23+
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_LOGS MonitorFormulaAndFunctionEventsDataSource = "logs"
24+
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_SPANS MonitorFormulaAndFunctionEventsDataSource = "spans"
25+
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_DATABASE_QUERIES MonitorFormulaAndFunctionEventsDataSource = "database_queries"
2526
)
2627

2728
var allowedMonitorFormulaAndFunctionEventsDataSourceEnumValues = []MonitorFormulaAndFunctionEventsDataSource{
@@ -32,6 +33,7 @@ var allowedMonitorFormulaAndFunctionEventsDataSourceEnumValues = []MonitorFormul
3233
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_EVENTS,
3334
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_LOGS,
3435
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_SPANS,
36+
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_DATABASE_QUERIES,
3537
}
3638

3739
// GetAllowedValues reeturns the list of possible values.

0 commit comments

Comments
 (0)