Skip to content

fix monitor enum #1698

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-07-16 10:52:44.851668",
"spec_repo_commit": "06d5775d"
"regenerated": "2024-07-16 12:50:22.620291",
"spec_repo_commit": "d082d733"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-07-16 10:52:44.869580",
"spec_repo_commit": "06d5775d"
"regenerated": "2024-07-16 12:50:22.639998",
"spec_repo_commit": "d082d733"
}
}
}
4 changes: 2 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6854,7 +6854,7 @@ components:
- logs
- spans
- database_queries
- network_performance_queries
- network
example: rum
type: string
x-enum-varnames:
Expand All @@ -6866,7 +6866,7 @@ components:
- LOGS
- SPANS
- DATABASE_QUERIES
- NETWORK_PERFORMANCE_QUERIES
- NETWORK
MonitorFormulaAndFunctionQueryDefinition:
description: A formula and function query.
oneOf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export type MonitorFormulaAndFunctionEventsDataSource =
| typeof LOGS
| typeof SPANS
| typeof DATABASE_QUERIES
| typeof NETWORK_PERFORMANCE_QUERIES
| typeof NETWORK
| UnparsedObject;
export const RUM = "rum";
export const CI_PIPELINES = "ci_pipelines";
Expand All @@ -29,4 +29,4 @@ export const EVENTS = "events";
export const LOGS = "logs";
export const SPANS = "spans";
export const DATABASE_QUERIES = "database_queries";
export const NETWORK_PERFORMANCE_QUERIES = "network_performance_queries";
export const NETWORK = "network";
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ const enumsMap: { [key: string]: any[] } = {
"logs",
"spans",
"database_queries",
"network_performance_queries",
"network",
],
MonitorOptionsNotificationPresets: [
"show_all",
Expand Down
Loading