mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
feature(scheduler): implement plugin_evaluation_total metric
This commit is contained in:
@@ -734,6 +734,7 @@ func (f *frameworkImpl) RunFilterPlugins(
|
||||
if state.SkipFilterPlugins.Has(pl.Name()) {
|
||||
continue
|
||||
}
|
||||
metrics.PluginEvaluationTotal.WithLabelValues(pl.Name(), Filter).Inc()
|
||||
if status := f.runFilterPlugin(ctx, pl, state, pod, nodeInfo); !status.IsSuccess() {
|
||||
if !status.IsUnschedulable() {
|
||||
// Filter plugins are not supposed to return any status other than
|
||||
|
||||
Reference in New Issue
Block a user