Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for NewCounterVec (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics.go

    	RegisterMetrics()
    	return matcherMetrics{}
    }
    
    const (
    	namespace = "apiserver"
    	subsystem = "authorization"
    )
    
    var (
    	authorizationMatchConditionEvaluationErrorsTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "match_condition_evaluation_errors_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics.go

    )
    
    var (
    	authenticatedUserCounter = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Name:           "authenticated_user_requests",
    			Help:           "Counter of authenticated requests broken out by username.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"username"},
    	)
    
    	authenticatedAttemptsCounter = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Name:           "authentication_attempts",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. pkg/registry/core/service/portallocator/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    	// nodePortAllocation counts the total number of ports allocation and allocation mode: static or dynamic.
    	nodePortAllocations = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "allocation_total",
    			Help:           "Number of NodePort allocations",
    			StabilityLevel: metrics.ALPHA,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 26 06:44:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics/metrics.go

    	webhookDuration.Reset()
    	webhookFailOpen.Reset()
    }
    
    const (
    	namespace = "apiserver"
    	subsystem = "authorization"
    )
    
    var (
    	webhookEvaluations = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "webhook_evaluations_total",
    			Help:           "Round-trips to authorization webhooks.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/monitor/metrics.go

    )
    
    const (
    	// hpaControllerSubsystem - subsystem name used by HPA controller
    	hpaControllerSubsystem = "horizontal_pod_autoscaler_controller"
    )
    
    var (
    	reconciliationsTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      hpaControllerSubsystem,
    			Name:           "reconciliations_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:47:24 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/authenticationconfig/metrics/metrics.go

    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	namespace = "apiserver"
    	subsystem = "authentication_config_controller"
    )
    
    var (
    	authenticationConfigAutomaticReloadsTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "automatic_reloads_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go

    // Append adds more
    func (rs Registerables) Append(more ...compbasemetrics.Registerable) Registerables {
    	return append(rs, more...)
    }
    
    var (
    	apiserverRejectedRequestsTotal = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "rejected_requests_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 19:40:05 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  8. 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)
  9. pkg/credentialprovider/plugin/metrics.go

    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	KubeletSubsystem = "kubelet"
    )
    
    var (
    	registerOnce sync.Once
    
    	kubeletCredentialProviderPluginErrors = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           "credential_provider_plugin_errors",
    			Help:           "Number of errors from credential provider plugin",
    			StabilityLevel: metrics.ALPHA,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 20:59:53 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. 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)
Back to top