Plugins: Update collect metrics handler to latest signature (#45166)
* use updated collect metrics handler * use proto helper
This commit is contained in:
@@ -47,9 +47,7 @@ type Client interface {
|
||||
backend.CheckHealthHandler
|
||||
backend.StreamHandler
|
||||
backend.CallResourceHandler
|
||||
|
||||
// CollectMetrics collects metrics from a plugin.
|
||||
CollectMetrics(ctx context.Context, pluginID string) (*backend.CollectMetricsResult, error)
|
||||
backend.CollectMetricsHandler
|
||||
}
|
||||
|
||||
// BackendFactoryProvider provides a backend factory for a provided plugin.
|
||||
|
||||
Reference in New Issue
Block a user