- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Metric2 (0.41 sec)
-
cmd/metrics-v2.go
metricsGroupOpts: opts, } mg.RegisterRead(func(_ context.Context) (metrics []MetricV2) { metrics = make([]MetricV2, 0, 16) nodesUp, nodesDown := globalNotificationSys.GetPeerOnlineCount() metrics = append(metrics, MetricV2{ Description: getNodeOnlineTotalMD(), Value: float64(nodesUp), }) metrics = append(metrics, MetricV2{ Description: getNodeOfflineTotalMD(),
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/printers/internalversion/printers_test.go
}, MinReplicas: &minReplicasVal, MaxReplicas: 10, Metrics: []autoscaling.MetricSpec{ { Type: autoscaling.ExternalMetricSourceType, External: &autoscaling.ExternalMetricSource{ Metric: autoscaling.MetricIdentifier{ Name: "some-external-metric", Selector: metricLabelSelector, }, Target: autoscaling.MetricTarget{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
t.Run(tt.name, func(t *testing.T) { // clear the metrics for testing metrics.Register() for _, metric := range []interface{ Reset() }{ metrics.DesiredPodCount, metrics.ActivePodCount, metrics.RestartedPodTotal, metrics.OrphanedRuntimePodTotal, metrics.WorkingPodCount, } { metric.Reset() } metrics.MirrorPodCount.Set(0)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
wantExtensionPoint: "Permit", wantStatus: framework.Wait, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { metrics.Register() metrics.FrameworkExtensionPointDuration.Reset() metrics.PluginExecutionDuration.Reset() plugin := &TestPlugin{name: testPlugin, inj: tt.inject} r := make(Registry) r.Register(testPlugin,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0) -
cmd/admin-handlers.go
} // Reply with storage information (across nodes in a // distributed setup) as json. writeSuccessResponseJSON(w, jsonBytes) } // MetricsHandler - GET /minio/admin/v3/metrics // ---------- // Get realtime server metrics func (a adminAPIHandlers) MetricsHandler(w http.ResponseWriter, r *http.Request) { ctx := r.Context() objectAPI, _ := validateAdminReq(ctx, w, r, policy.ServerInfoAdminAction)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
// metrics and to determine restarts. activePods := kl.filterOutInactivePods(allPods) allRegularPods, allStaticPods := splitPodsByStatic(allPods) activeRegularPods, activeStaticPods := splitPodsByStatic(activePods) metrics.DesiredPodCount.WithLabelValues("").Set(float64(len(allRegularPods))) metrics.DesiredPodCount.WithLabelValues("true").Set(float64(len(allStaticPods)))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
`, // the observed value will always be 0, because we don't proceed the fake clock. }, } resetMetrics := func() { metrics.ActivePods().Set(0) metrics.BackoffPods().Set(0) metrics.UnschedulablePods().Set(0) metrics.GatedPods().Set(0) metrics.PluginExecutionDuration.Reset() } for _, test := range tests { t.Run(test.name, func(t *testing.T) { resetMetrics()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
return } z.Rotational, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "Rotational") return } err = z.Metrics.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Metrics") return } z.Error, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Error") return } return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 130.6K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
// Note that the modules here must not depend on modules that are not initialized here. func (kl *Kubelet) initializeModules() error { // Prometheus metrics. metrics.Register( collectors.NewVolumeStatsCollector(kl), collectors.NewLogMetricsCollector(kl.StatsProvider.ListPodStats), ) metrics.SetNodeName(kl.nodeName) servermetrics.Register() // Setup filesystem directories. if err := kl.setupDataDirs(); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
cmd/site-replication.go
sm.ReplicaSize += peer.ReplicaSize sm.Proxied.Add(madmin.ReplProxyMetric(peer.Proxied)) for dID, v := range peer.Metrics { v2, ok := sm.Metrics[dID] if !ok { v2 = madmin.SRMetric{} v2.Failed.ErrCounts = make(map[string]int) } // use target endpoint metrics from node which has been up the longest if v2.LastOnline.After(v.LastOnline) || v2.LastOnline.IsZero() {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0)