- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 416 for Metric2 (0.15 sec)
-
cmd/metrics-resource.go
} key := getResourceKey(name, labels) metric, found := subsysMetrics[key] if !found { metric = ResourceMetric{ Name: name, Labels: labels, } } if isCumulative { metric.Current = val - metric.Cumulative metric.Cumulative = val } else { metric.Current = val } if metric.Current > metric.Max { metric.Max = val } metric.Sum += metric.Current
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 17 15:15:13 UTC 2024 - 17.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/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 ( etcdRequestLatency = compbasemetrics.NewHistogramVec( &compbasemetrics.HistogramOpts{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 21:15:32 UTC 2024 - 11K bytes - Viewed (0) -
pkg/proxy/metrics/metrics.go
if n.client != nil { counter, err := n.client.Get(n.counter) if err != nil { klog.ErrorS(err, "failed to collect nfacct counter", "counter", n.counter) } else { metric, err := metrics.NewConstMetric(n.description, metrics.CounterValue, float64(counter.Packets)) if err != nil { klog.ErrorS(err, "failed to create constant metric") } else { ch <- metric } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 13.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go
&metrics.HistogramOpts{ Namespace: namespace, Subsystem: subsystem, Name: "dek_cache_inter_arrival_time_seconds", Help: "Time (in seconds) of inter arrival of transformation requests.", StabilityLevel: metrics.ALPHA, Buckets: metrics.ExponentialBuckets(60, 2, 10), }, []string{"transformation_type"}, )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 09 22:31:32 UTC 2023 - 12K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/metrics/metrics.go
totalPVCountDesc = metrics.NewDesc( metrics.BuildFQName("", pvControllerSubsystem, totalPVKey), "Gauge measuring total number of persistent volumes", []string{pluginNameLabel, volumeModeLabel}, nil, metrics.ALPHA, "") boundPVCountDesc = metrics.NewDesc( metrics.BuildFQName("", pvControllerSubsystem, boundPVKey), "Gauge measuring number of persistent volume currently bound", []string{storageClassLabel}, nil, metrics.ALPHA, "")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 25 13:09:16 UTC 2022 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go
) var registerMetrics sync.Once // Register all metrics. func Register() { registerMetrics.Do(func() { for _, metric := range metrics { legacyregistry.MustRegister(metric) } }) } type resettable interface { Reset() } // Reset all resettable metrics to zero func Reset() { for _, metric := range metrics { if rm, ok := metric.(resettable); ok { rm.Reset() } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 19:40:05 UTC 2023 - 25.6K bytes - Viewed (0) -
pkg/kubelet/metrics/metrics.go
StabilityLevel: metrics.ALPHA, }, ) NodeStartupDuration = metrics.NewGauge( &metrics.GaugeOpts{ Subsystem: KubeletSubsystem, Name: NodeStartupKey, Help: "Duration in seconds of node startup in total.", StabilityLevel: metrics.ALPHA, }, ) ImageGarbageCollectedTotal = metrics.NewCounterVec( &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) -
staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go
var registerMetrics sync.Once // Register all metrics. func Register() { registerMetrics.Do(func() { for _, metric := range metrics { legacyregistry.MustRegister(metric) } }) } // Reset all metrics. func Reset() { for _, metric := range metrics { metric.Reset() } } // UpdateInflightRequestMetrics reports concurrency metrics classified by // mutating vs Readonly.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 07:29:19 UTC 2023 - 35K bytes - Viewed (0) -
cmd/metrics.go
desc *prometheus.Desc } // Describe sends the super-set of all possible descriptors of metrics func (c *minioCollector) Describe(ch chan<- *prometheus.Desc) { ch <- c.desc } // Collect is called by the Prometheus registry when collecting metrics. func (c *minioCollector) Collect(ch chan<- prometheus.Metric) { // Expose MinIO's version information minioVersionInfo.WithLabelValues(Version, CommitID).Set(1.0)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/scheduler/metrics/metrics.go
func BackoffPods() metrics.GaugeMetric { return pendingPods.With(metrics.Labels{"queue": "backoff"}) } // UnschedulablePods returns the pending pods metrics with the label unschedulable func UnschedulablePods() metrics.GaugeMetric { return pendingPods.With(metrics.Labels{"queue": "unschedulable"}) } // GatedPods returns the pending pods metrics with the label gated
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 08:22:53 UTC 2024 - 11.1K bytes - Viewed (0)