- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for ttl (0.01 seconds)
-
cmd/metrics-v2.go
maps.Copy(metric.VariableLabels, m.VariableLabels) maps.Copy(metric.Histogram, m.Histogram) return metric } // Get - returns cached value always upton the configured TTL, // once the TTL expires "read()" registered function is called // to return the new values and updated. func (g *MetricsGroupV2) Get() (metrics []MetricV2) { m, _ := g.metricsCache.Get() if len(m) == 0 { return []MetricV2{}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 133.6K bytes - Click Count (0)