Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for NewCounterVec (0.39 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/metrics/metrics.go

    const VolumeSchedulerSubsystem = "scheduler_volume"
    
    var (
    	// VolumeBindingRequestSchedulerBinderCache tracks the number of volume binder cache operations.
    	VolumeBindingRequestSchedulerBinderCache = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      VolumeSchedulerSubsystem,
    			Name:           "binder_cache_requests_total",
    			Help:           "Total number for request volume binding cache",
    			StabilityLevel: metrics.ALPHA,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 23 12:18:16 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/stats.go

    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"status"},
    	)
    	requestCount = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      "authentication",
    			Subsystem:      "token_cache",
    			Name:           "request_total",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"status"},
    	)
    	fetchCount = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      "authentication",
    			Subsystem:      "token_cache",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 01 18:49:09 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/audit/metrics.go

    		})
    	errorCounter = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem: subsystem,
    			Name:      "error_total",
    			Help: "Counter of audit events that failed to be audited properly. " +
    				"Plugin identifies the plugin affected by the error.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"plugin"},
    	)
    	levelCounter = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      subsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 13 00:46:24 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapiv3/metrics.go

    limitations under the License.
    */
    
    package openapiv3
    
    import (
    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    var (
    	regenerationCounter = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Name:           "apiextensions_openapi_v3_regeneration_count",
    			Help:           "Counter of OpenAPI v3 spec regeneration count broken down by group, version, causing CRD and reason.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 22:10:50 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pkg/registry/core/service/ipallocator/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"cidr"},
    	)
    	// clusterIPAllocation counts the total number of ClusterIP allocation and allocation mode: static or dynamic.
    	clusterIPAllocations = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "allocation_total",
    			Help:           "Number of Cluster IPs allocations",
    			StabilityLevel: metrics.ALPHA,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 13 13:33:30 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top