Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for newCounter (0.19 sec)

  1. pkg/serviceaccount/metrics.go

    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const kubeServiceAccountSubsystem = "serviceaccount"
    
    var (
    	// LegacyTokensTotal is the number of legacy tokens used against apiserver.
    	legacyTokensTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      kubeServiceAccountSubsystem,
    			Name:           "legacy_tokens_total",
    			Help:           "Cumulative legacy service account tokens used",
    			StabilityLevel: metrics.ALPHA,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/metrics/metrics.go

    		},
    	)
    	ReconstructVolumeOperationsErrorsTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Name:           reconstructVolumeOperationsErrorsTotal,
    			Help:           "The number of volumes that failed reconstruction from the operating system during kubelet startup.",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	ForceCleanedFailedVolumeOperationsTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 06 16:48:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. pkg/controller/volume/ephemeral/metrics/metrics.go

    var (
    	// EphemeralVolumeCreateAttempts tracks the number of
    	// PersistentVolumeClaims().Create calls (both successful and unsuccessful)
    	EphemeralVolumeCreateAttempts = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      EphemeralVolumeSubsystem,
    			Name:           "create_total",
    			Help:           "Number of PersistenVolumeClaims creation requests",
    			StabilityLevel: metrics.ALPHA,
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 11:01:37 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              // we can just do that work here.
              AtomicInteger newCounter = new AtomicInteger(occurrences);
              if ((countMap.putIfAbsent(element, newCounter) == null)
                  || countMap.replace(element, existingCounter, newCounter)) {
                return 0;
              }
              break;
            }
          }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/webhook/metrics.go

    limitations under the License.
    */
    
    package webhook
    
    import (
    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    var x509MissingSANCounter = metrics.NewCounter(
    	&metrics.CounterOpts{
    		Subsystem: "webhooks",
    		Namespace: "apiserver",
    		Name:      "x509_missing_san_total",
    		Help: "Counts the number of requests to servers missing SAN extension " +
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 14:39:30 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  6. pkg/proxy/metrics/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	// EndpointChangesTotal is the number of endpoint changes that the proxy
    	// has seen.
    	EndpointChangesTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      kubeProxySubsystem,
    			Name:           "sync_proxy_rules_endpoint_changes_total",
    			Help:           "Cumulative proxy rules Endpoint changes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. pkg/kubelet/metrics/metrics.go

    	StartedPodsTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           StartedPodsTotalKey,
    			Help:           "Cumulative number of pods started",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    	// StartedPodsErrorsTotal is a counter that tracks the number of errors creating pod sandboxes
    	StartedPodsErrorsTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  8. pkg/controller/resourceclaim/metrics/metrics.go

    const ResourceClaimSubsystem = "resourceclaim_controller"
    
    var (
    	// ResourceClaimCreateAttempts tracks the number of
    	// ResourceClaims().Create calls (both successful and unsuccessful)
    	ResourceClaimCreateAttempts = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      ResourceClaimSubsystem,
    			Name:           "create_attempts_total",
    			Help:           "Number of ResourceClaims creation requests",
    			StabilityLevel: metrics.ALPHA,
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:23:50 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              // we can just do that work here.
              AtomicInteger newCounter = new AtomicInteger(occurrences);
              if ((countMap.putIfAbsent(element, newCounter) == null)
                  || countMap.replace(element, existingCounter, newCounter)) {
                return 0;
              }
              break;
            }
          }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/rest/metrics.go

    			StabilityLevel:    metrics.ALPHA,
    			DeprecatedVersion: "1.27.0",
    		},
    		[]string{"usage"},
    	)
    
    	// podLogsTLSFailure counts how many attempts to get pod logs fail on tls verification
    	podLogsTLSFailure = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "backend_tls_failure_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 16:43:09 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top