- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for gaugeMetric (0.17 sec)
-
cmd/metrics-v2.go
webhookOnline = "online" ) const ( serverName = "server" ) // MetricTypeV2 for the types of metrics supported type MetricTypeV2 string const ( gaugeMetric = "gaugeMetric" counterMetric = "counterMetric" histogramMetric = "histogramMetric" ) // MetricDescription describes the metric type MetricDescription struct {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 131.9K bytes - Viewed (0) -
pkg/scheduler/metrics/metrics.go
} // ActivePods returns the pending pods metrics with the label active func ActivePods() metrics.GaugeMetric { return pendingPods.With(metrics.Labels{"queue": "active"}) } // BackoffPods returns the pending pods metrics with the label backoff func BackoffPods() metrics.GaugeMetric { return pendingPods.With(metrics.Labels{"queue": "backoff"}) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 08:22:53 UTC 2024 - 11.1K bytes - Viewed (0) -
pilot/pkg/leaderelection/k8sleaderelection/metrics.go
"sync" ) // This file provides abstractions for setting the provider (e.g., prometheus) // of metrics. type leaderMetricsAdapter interface { leaderOn(name string) leaderOff(name string) } // GaugeMetric represents a single numerical value that can arbitrarily go up // and down. type SwitchMetric interface { On(name string) Off(name string) } type noopMetric struct{} func (noopMetric) On(name string) {}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 11 16:58:48 UTC 2021 - 2.6K bytes - Viewed (0) -
pkg/scheduler/metrics/metric_recorder.go
Inc() Dec() Clear() } var _ MetricRecorder = &PendingPodsRecorder{} // PendingPodsRecorder is an implementation of MetricRecorder type PendingPodsRecorder struct { recorder metrics.GaugeMetric } // NewActivePodsRecorder returns ActivePods in a Prometheus metric fashion func NewActivePodsRecorder() *PendingPodsRecorder { return &PendingPodsRecorder{ recorder: ActivePods(), } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 16 07:27:08 UTC 2023 - 4.4K bytes - Viewed (0) -
cmd/tier.go
Namespace: nodeMetricNamespace, Subsystem: tierSubsystem, Name: ttlbDistribution, Help: "Distribution of time to last byte for objects downloaded from warm tier", Type: gaugeMetric, } // {minio_node}_{tier}_{requests_success} tierRequestsSuccessMD = MetricDescription{ Namespace: nodeMetricNamespace, Subsystem: tierSubsystem, Name: tierRequestsSuccess,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 08:44:07 UTC 2024 - 15.5K bytes - Viewed (0) -
cmd/metrics-resource.go
return MetricDescription{ Namespace: nodeMetricNamespace, Subsystem: subSys, Name: name, Help: help, Type: gaugeMetric, } } func getResourceMetrics() *MetricsGroupV2 { mg := &MetricsGroupV2{ cacheInterval: resourceMetricsCacheInterval, } mg.RegisterRead(func(ctx context.Context) []MetricV2 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 17 15:15:13 UTC 2024 - 17.2K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world.go
} // Based on isRWOP, bump the right warning / error metric and either consume the error or return it. func handleSELinuxMetricError(err error, seLinuxSupported bool, warningMetric, errorMetric metrics.GaugeMetric) error { if seLinuxSupported { errorMetric.Add(1.0) return err } // This is not an error yet, but it will be when support for other access modes is added. warningMetric.Add(1.0)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 27.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go
if requestInfo == nil { requestInfo = &request.RequestInfo{Verb: req.Method, Path: req.URL.Path} } var g compbasemetrics.GaugeMetric scope := CleanScope(requestInfo) // We don't use verb from <requestInfo>, as this may be propagated from // InstrumentRouteFunc which is registered in installer.go with predefined
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 07:29:19 UTC 2023 - 35K bytes - Viewed (0)