Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getMetrics (0.33 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    	}
    
    	sum := 0
    	familyMatch, labelMatch := false, false
    	for _, mf := range metrics {
    		if mf.GetName() != name {
    			continue
    		}
    
    		familyMatch = true
    		for _, metric := range mf.GetMetric() {
    			if !testutil.LabelsMatch(metric, labelFilter) {
    				continue
    			}
    
    			labelMatch = true
    			sum += int(metric.GetGauge().GetValue())
    		}
    	}
    	if !familyMatch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top