- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getHealFailedItemsMap (0.14 sec)
-
cmd/admin-heal-ops.go
for k, v := range h.healedItemsMap { retMap[k] = v } return retMap } // getHealFailedItemsMap - returns map of all items where heal failed against // drive endpoint and status func (h *healSequence) getHealFailedItemsMap() map[madmin.HealItemType]int64 { h.mutex.RLock() defer h.mutex.RUnlock() // Make a copy before returning the value
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 25.6K bytes - Viewed (0) -
cmd/metrics.go
"Objects healed since uptime", []string{"type"}, nil), prometheus.CounterValue, float64(v), string(k), ) } for k, v := range bgSeq.getHealFailedItemsMap() { ch <- prometheus.MustNewConstMetric( prometheus.NewDesc( prometheus.BuildFQName(healMetricsNamespace, "objects", "heal_failed"), "Objects for which healing failed since uptime",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
cmd/metrics-v2.go
metrics = append(metrics, getFailedItems(bgSeq)...) return }) return mg } func getFailedItems(seq *healSequence) (m []MetricV2) { items := seq.getHealFailedItemsMap() m = make([]MetricV2, 0, len(items)) for k, v := range items { m = append(m, MetricV2{ Description: getHealObjectsFailTotalMD(), VariableLabels: map[string]string{"type": string(k)},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 131.9K bytes - Viewed (0)