Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 567 for Metric2 (1.71 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/metrics.go

    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    var (
    	latencyBuckets = metrics.ExponentialBuckets(0.001, 2, 15)
    )
    
    // converterMetricFactory holds metrics for all CRD converters
    type converterMetricFactory struct {
    	// A map from a converter name to it's metric. Allows the converterMetric to be created
    	// again with the same metric for a specific converter (e.g. 'webhook').
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 19:34:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/monitor/metrics.go

    	}
    )
    
    var register sync.Once
    
    // Register all metrics.
    func Register() {
    	// Register the metrics.
    	register.Do(func() {
    		registerMetrics(metricsList...)
    	})
    }
    
    // RegisterMetrics registers a list of metrics.
    func registerMetrics(extraMetrics ...metrics.Registerable) {
    	for _, metric := range extraMetrics {
    		legacyregistry.MustRegister(metric)
    	}
    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/storage/value/metrics.go

    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	namespace = "apiserver"
    	subsystem = "storage"
    )
    
    /*
     * By default, all the following metrics are defined as falling under
     * ALPHA stability level https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/1209-metrics-stability/kubernetes-control-plane-metrics-stability.md#stability-classes)
     *
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. test/typeparam/metrics.go

    	}
    	if got, want := m1.Metrics(), []string{"a"}; !_SlicesEqual(got, want) {
    		panic(fmt.Sprintf("Metrics = %v, want %v", got, want))
    	}
    
    	m2 := _Metric2[int, float64]{}
    	m2.Add(1, 1)
    	m2.Add(2, 2)
    	m2.Add(3, 3)
    	m2.Add(3, 3)
    	k1, k2 := m2.Metrics()
    
    	sort.Ints(k1)
    	w1 := []int{1, 2, 3}
    	if !_SlicesEqual(k1, w1) {
    		panic(fmt.Sprintf("_Metric2.Metrics first slice = %v, want %v", k1, w1))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. pkg/controller/job/metrics/metrics.go

    	//   action:          reconciling, tracking, pods_created, pods_deleted
    	JobSyncDurationSeconds = metrics.NewHistogramVec(
    		&metrics.HistogramOpts{
    			Subsystem:      JobControllerSubsystem,
    			Name:           "job_sync_duration_seconds",
    			Help:           "The time it took to sync a job",
    			StabilityLevel: metrics.STABLE,
    			Buckets:        metrics.ExponentialBuckets(0.004, 2, 15),
    		},
    		[]string{"completion_mode", "result", "action"},
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. pkg/volume/util/metrics.go

     *
     * Promoting the stability level of the metric is a responsibility of the component owner, since it
     * involves explicitly acknowledging support for the metric across multiple releases, in accordance with
     * the metric stability policy.
     */
    
    var StorageOperationMetric = metrics.NewHistogramVec(
    	&metrics.HistogramOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 23 23:05:31 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics.go

    	"k8s.io/apiserver/pkg/authentication/authenticator"
    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    /*
     * By default, all the following metrics are defined as falling under
     * ALPHA stability level https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/1209-metrics-stability/kubernetes-control-plane-metrics-stability.md#stability-classes)
     *
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/metrics.h

    limitations under the License.
    ==============================================================================*/
    // APIs for accessing SavedModel and checkpoint metric objects.
    //
    // In order to collect the data from these metrics, please add the metrics to
    // the provided monitoring platform. Unless configured with a user-specified
    // monitoring platform, the data is not collected in OSS.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. pkg/test/echo/common/metrics.go

    package common
    
    import (
    	"istio.io/istio/pkg/monitoring"
    )
    
    type EchoMetrics struct {
    	HTTPRequests monitoring.Metric
    	GrpcRequests monitoring.Metric
    	TCPRequests  monitoring.Metric
    }
    
    var (
    	PortLabel = monitoring.CreateLabel("port")
    	Metrics   = &EchoMetrics{
    		HTTPRequests: monitoring.NewSum(
    			"istio_echo_http_requests_total",
    			"The number of http requests total",
    		),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. prow/config/metrics/metrics.yaml

    # With a startup probe and `--kubelet-insecure-tls` added.
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      labels:
        k8s-app: metrics-server
      name: metrics-server
      namespace: kube-system
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRole
    metadata:
      labels:
        k8s-app: metrics-server
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 20:51:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top