-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
APIGOV-27637 add apigee metrics filter (#755)
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
pkg/apic/apiserver/models/management/v1alpha1/model_dataplane_spec_apigee_metrics_filter.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* API Server specification. | ||
* | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* API version: SNAPSHOT | ||
* Generated by: OpenAPI Generator (https://openapi-generator.tech) | ||
*/ | ||
|
||
package management | ||
|
||
// DataplaneSpecApigeeMetricsFilter struct for DataplaneSpecApigeeMetricsFilter | ||
type DataplaneSpecApigeeMetricsFilter struct { | ||
// The names of the APIs for which the metrics will be processed | ||
FilteredAPIs []string `json:"filteredAPIs,omitempty"` | ||
// The flag upon which is decided if the API metrics are filtered or not. Defaults to false | ||
FilterAPIs bool `json:"filterAPIs,omitempty"` | ||
} |