- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tierMetrics (0.04 sec)
-
cmd/tier.go
}, []string{"tier"}), } func (t *tierMetrics) Observe(tier string, dur time.Duration) { t.histogram.With(prometheus.Labels{"tier": tier}).Observe(dur.Seconds()) } func (t *tierMetrics) logSuccess(tier string) { t.Lock() defer t.Unlock() stat := t.requestsCount[tier] stat.success++ t.requestsCount[tier] = stat } func (t *tierMetrics) logFailure(tier string) { t.Lock()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
cmd/metrics-v2.go
if err != nil { metricsLogIf(ctx, err) return metrics } // data usage has not captured any tier stats yet. if dui.TierStats == nil { return metrics } return dui.tierMetrics() }) return mg } func getLocalStorageMetrics(opts MetricsGroupOpts) *MetricsGroupV2 { mg := &MetricsGroupV2{ cacheInterval: 1 * time.Minute, metricsGroupOpts: opts, }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 133.6K bytes - Viewed (0)