Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for NewCounterVec (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top