Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update formula and function monitor enum datasource #1733

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.4",
"regenerated": "2022-10-27 17:48:11.585630",
"spec_repo_commit": "15da7251"
"regenerated": "2022-10-28 16:05:51.167751",
"spec_repo_commit": "808b1054"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2022-10-27 17:48:11.599151",
"spec_repo_commit": "15da7251"
"regenerated": "2022-10-28 16:05:51.186799",
"spec_repo_commit": "808b1054"
}
}
}
8 changes: 8 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6042,12 +6042,20 @@ components:
- rum
- ci_pipelines
- ci_tests
- audit
- events
- logs
- spans
example: rum
type: string
x-enum-varnames:
- RUM
- CI_PIPELINES
- CI_TESTS
- AUDIT
- EVENTS
- LOGS
- SPANS
MonitorFormulaAndFunctionQueryDefinition:
description: A formula and function query.
oneOf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,20 @@ const (
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_RUM MonitorFormulaAndFunctionEventsDataSource = "rum"
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_PIPELINES MonitorFormulaAndFunctionEventsDataSource = "ci_pipelines"
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_TESTS MonitorFormulaAndFunctionEventsDataSource = "ci_tests"
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_AUDIT MonitorFormulaAndFunctionEventsDataSource = "audit"
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_EVENTS MonitorFormulaAndFunctionEventsDataSource = "events"
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_LOGS MonitorFormulaAndFunctionEventsDataSource = "logs"
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_SPANS MonitorFormulaAndFunctionEventsDataSource = "spans"
)

var allowedMonitorFormulaAndFunctionEventsDataSourceEnumValues = []MonitorFormulaAndFunctionEventsDataSource{
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_RUM,
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_PIPELINES,
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_TESTS,
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_AUDIT,
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_EVENTS,
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_LOGS,
MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_SPANS,
}

// GetAllowedValues reeturns the list of possible values.
Expand Down