Skip to content

Commit c73ac2b

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

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
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:52.788238",
8-
"spec_repo_commit": "86101285"
7+
"regenerated": "2024-02-23 12:49:53.373904",
8+
"spec_repo_commit": "30d313fd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-02-23 10:58:52.808553",
13-
"spec_repo_commit": "86101285"
12+
"regenerated": "2024-02-23 12:49:53.388814",
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:

packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventsDataSource.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export type MonitorFormulaAndFunctionEventsDataSource =
1818
| typeof EVENTS
1919
| typeof LOGS
2020
| typeof SPANS
21+
| typeof DATABASE_QUERIES
2122
| UnparsedObject;
2223
export const RUM = "rum";
2324
export const CI_PIPELINES = "ci_pipelines";
@@ -26,3 +27,4 @@ export const AUDIT = "audit";
2627
export const EVENTS = "events";
2728
export const LOGS = "logs";
2829
export const SPANS = "spans";
30+
export const DATABASE_QUERIES = "database_queries";

packages/datadog-api-client-v1/models/ObjectSerializer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,7 @@ const enumsMap: { [key: string]: any[] } = {
909909
"events",
910910
"logs",
911911
"spans",
912+
"database_queries",
912913
],
913914
MonitorOptionsNotificationPresets: [
914915
"show_all",

0 commit comments

Comments
 (0)