Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for NewCounterVec (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

     */
    var (
    	listCacheCount = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "cache_list_total",
    			Help:           "Number of LIST requests served from watch cache",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"resource_prefix", "index"},
    	)
    	listCacheNumFetched = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. pkg/controller/job/metrics/metrics.go

    	//   completion_mode: Indexed, NonIndexed
    	//   result:          success, error
    	//   action:          reconciling, tracking, pods_created, pods_deleted
    	JobSyncNum = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      JobControllerSubsystem,
    			Name:           "job_syncs_total",
    			Help:           "The number of job syncs",
    			StabilityLevel: metrics.STABLE,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/metrics/metrics.go

    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	namespace = "apiserver"
    	subsystem = "encryption_config_controller"
    )
    
    var (
    	encryptionConfigAutomaticReloadsTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "automatic_reloads_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 05:47:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top