Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for NewCounterVec (0.35 sec)

  1. pkg/registry/core/service/ipallocator/controller/metrics.go

    var (
    	// clusterIPRepairIPErrors indicates the number of errors found by the repair loop
    	// divided by the type of error:
    	// leak, repair, full, outOfRange, duplicate, invalid, unknown
    	clusterIPRepairIPErrors = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "ip_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)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/metrics/metrics.go

    	policyCheck      *metrics.CounterVec
    	policyDefinition *metrics.CounterVec
    	policyLatency    *metrics.HistogramVec
    }
    
    func newValidationAdmissionMetrics() *ValidatingAdmissionPolicyMetrics {
    	check := metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      metricsNamespace,
    			Subsystem:      metricsSubsystem,
    			Name:           "check_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/util/peerproxy/metrics/metrics.go

    	statuscode = "code"
    )
    
    var registerMetricsOnce sync.Once
    
    var (
    	// peerProxiedRequestsTotal counts the number of requests that were proxied to a peer kube-apiserver.
    	peerProxiedRequestsTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      subsystem,
    			Name:           "rerouted_request_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top