- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for registerizable (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics_test.go
// modify default sinceInSeconds to constant NOW sinceInSeconds = func(t time.Time) float64 { return time.Unix(0, 300*int64(time.Millisecond)).Sub(t).Seconds() } testedMetrics := []metrics.Registerable{ etcdRequestCounts, etcdRequestErrorCounts, etcdRequestLatency, } testedMetricsName := make([]string, 0, len(testedMetrics)) for _, m := range testedMetrics { registry.MustRegister(m)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 21:15:32 UTC 2024 - 10.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go
) // resettableCollector is the interface implemented by prometheus.MetricVec // that can be used by Prometheus to collect metrics and reset their values. type resettableCollector interface { compbasemetrics.Registerable Reset() } const ( APIServerComponent string = "apiserver" OtherRequestMethod string = "other" ) /* * By default, all the following metrics are defined as falling under
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 07:29:19 UTC 2023 - 35K bytes - Viewed (0)