Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for aggregator_discovery_aggregation_count_total (0.39 sec)

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

    	expected := ``
    	if aggregationCount > 0 {
    		expected = expected + `# HELP aggregator_discovery_aggregation_count_total [ALPHA] Counter of number of times discovery was aggregated
    # TYPE aggregator_discovery_aggregation_count_total counter
    aggregator_discovery_aggregation_count_total %d
    `
    	}
    	args := []any{}
    	if aggregationCount > 0 {
    		args = append(args, aggregationCount)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 17:24:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/metrics.go

    import (
    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    var (
    	regenerationCounter = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Name:           "aggregator_discovery_aggregation_count_total",
    			Help:           "Counter of number of times discovery was aggregated",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    )
    
    func init() {
    	legacyregistry.MustRegister(regenerationCounter)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 17:24:02 UTC 2023
    - 1009 bytes
    - Viewed (0)
Back to top