Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for NewCounterVec (0.36 sec)

  1. pkg/scheduler/metrics/metrics.go

    	Unreserve                   = "Unreserve"
    	Permit                      = "Permit"
    )
    
    // All the histogram based metrics have 1ms as size for the smallest bucket.
    var (
    	scheduleAttempts = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      SchedulerSubsystem,
    			Name:           "schedule_attempts_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. pkg/registry/core/service/portallocator/controller/metrics.go

    )
    
    var (
    	// nodePortRepairPortErrors indicates the number of errors found by the repair loop
    	// divided by the type of error:
    	// leak, repair, full, outOfRange, duplicate, unknown
    	nodePortRepairPortErrors = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "port_errors_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/proxy/metrics/metrics.go

    )
    
    var registerMetricsOnce sync.Once
    
    var (
    	// streamTranslatorRequestsTotal counts the number of requests that were handled by
    	// the StreamTranslatorProxy.
    	streamTranslatorRequestsTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      subsystem,
    			Name:           "stream_translator_requests_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/metrics.go

    func RegisterMetrics() {
    	registerMetrics.Do(func() {
    		legacyregistry.MustRegister(requestTotal)
    		legacyregistry.MustRegister(requestLatency)
    	})
    }
    
    var (
    	requestTotal = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Name:           "apiserver_delegated_authz_request_total",
    			Help:           "Number of HTTP requests partitioned by status code.",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/authorizationconfig/metrics/metrics.go

    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	namespace = "apiserver"
    	subsystem = "authorization_config_controller"
    )
    
    var (
    	authorizationConfigAutomaticReloadsTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "automatic_reloads_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 13:20:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics.go

    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	namespace = "apiserver"
    	subsystem = "authorization"
    )
    
    var (
    	authorizationDecisionsTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "decisions_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 13:20:59 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go

    	// apiserver_envelope_encryption_key_id_hash_total{apiserver_id_hash="sha256",key_id_hash="sha256",
    	// provider_name="providerName",transformation_type="from_storage"} 1
    	KeyIDHashTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "key_id_hash_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 09 22:31:32 UTC 2023
    - 12K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go

    	)
    
    	// TODO(a-robinson): Add unit tests for the handling of these metrics once
    	// the upstream library supports it.
    	requestCounter = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Subsystem:      APIServerComponent,
    			Name:           "request_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 35K bytes
    - Viewed (0)
  9. pkg/proxy/metrics/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	// ProxyHealthzTotal is the number of returned HTTP Status for each
    	// healthz probe.
    	ProxyHealthzTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      kubeProxySubsystem,
    			Name:           "proxy_healthz_total",
    			Help:           "Cumulative proxy healthz HTTP status",
    			StabilityLevel: metrics.ALPHA,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top