Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRecordAuthorizationMetricsMetrics (0.47 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics_test.go

    			<-done
    
    			if err := testutil.GatherAndCompare(legacyregistry.DefaultGatherer, strings.NewReader(tt.want), metrics...); err != nil {
    				t.Fatal(err)
    			}
    		})
    	}
    }
    
    func TestRecordAuthorizationMetricsMetrics(t *testing.T) {
    	// Excluding authorization_duration_seconds since it is difficult to predict its values.
    	metrics := []string{
    		"authorization_attempts_total",
    		"authorization_decision_annotations_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top