Skip to content

Commit bcd5d29

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
fix monitor enum (#1698)
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 82bfec6 commit bcd5d29

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
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-07-16 10:52:44.851668",
8-
"spec_repo_commit": "06d5775d"
7+
"regenerated": "2024-07-16 12:50:22.620291",
8+
"spec_repo_commit": "d082d733"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-16 10:52:44.869580",
13-
"spec_repo_commit": "06d5775d"
12+
"regenerated": "2024-07-16 12:50:22.639998",
13+
"spec_repo_commit": "d082d733"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6854,7 +6854,7 @@ components:
68546854
- logs
68556855
- spans
68566856
- database_queries
6857-
- network_performance_queries
6857+
- network
68586858
example: rum
68596859
type: string
68606860
x-enum-varnames:
@@ -6866,7 +6866,7 @@ components:
68666866
- LOGS
68676867
- SPANS
68686868
- DATABASE_QUERIES
6869-
- NETWORK_PERFORMANCE_QUERIES
6869+
- NETWORK
68706870
MonitorFormulaAndFunctionQueryDefinition:
68716871
description: A formula and function query.
68726872
oneOf:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type MonitorFormulaAndFunctionEventsDataSource =
1919
| typeof LOGS
2020
| typeof SPANS
2121
| typeof DATABASE_QUERIES
22-
| typeof NETWORK_PERFORMANCE_QUERIES
22+
| typeof NETWORK
2323
| UnparsedObject;
2424
export const RUM = "rum";
2525
export const CI_PIPELINES = "ci_pipelines";
@@ -29,4 +29,4 @@ export const EVENTS = "events";
2929
export const LOGS = "logs";
3030
export const SPANS = "spans";
3131
export const DATABASE_QUERIES = "database_queries";
32-
export const NETWORK_PERFORMANCE_QUERIES = "network_performance_queries";
32+
export const NETWORK = "network";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ const enumsMap: { [key: string]: any[] } = {
925925
"logs",
926926
"spans",
927927
"database_queries",
928-
"network_performance_queries",
928+
"network",
929929
],
930930
MonitorOptionsNotificationPresets: [
931931
"show_all",

0 commit comments

Comments
 (0)