- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for nodesMap (0.06 sec)
-
cmd/endpoint.go
} if !slices.Contains(node.Pools, ep.PoolIdx) { node.Pools = append(node.Pools, ep.PoolIdx) } nodesMap[ep.Host] = node } } nodes = make([]Node, 0, len(nodesMap)) for _, v := range nodesMap { nodes = append(nodes, v) } sort.Slice(nodes, func(i, j int) bool { return nodes[i].Host < nodes[j].Host }) return } // GetPoolIdx return pool index
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 34.2K bytes - Viewed (0) -
cmd/metrics.go
} func nodeHealthMetricsPrometheus(ch chan<- prometheus.Metric) { nodesUp, nodesDown := globalNotificationSys.GetPeerOnlineCount() ch <- prometheus.MustNewConstMetric( prometheus.NewDesc( prometheus.BuildFQName(minioNamespace, "nodes", "online"), "Total number of MinIO nodes online", nil, nil), prometheus.GaugeValue, float64(nodesUp), ) ch <- prometheus.MustNewConstMetric( prometheus.NewDesc(
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 16.6K bytes - Viewed (0)