Skip to content

Commit

Permalink
APIGOV-27637 add apigee metrics filter (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrosca authored Apr 11, 2024
1 parent 56ecdbb commit a6d3f62
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ type DataplaneSpecApigee struct {
// The Developer that will own all Apigee Applications created by the agent
DeveloperEmail string `json:"developerEmail"`
// The discovery mode that the Apigee agents should use
Mode string `json:"mode,omitempty"`
Mode string `json:"mode,omitempty"`
MetricsFilter DataplaneSpecApigeeMetricsFilter `json:"metricsFilter,omitempty"`
}
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"`
}

0 comments on commit a6d3f62

Please sign in to comment.