- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getHistogramMetrics (0.06 sec)
-
cmd/metrics-v2_test.go
} metrics := getHistogramMetrics(ttfbHist, getBucketTTFBDistributionMD(), false, false) // additional labels for +Inf for all histogram metrics if expPoints := len(labels) * (len(histBuckets) + 1); expPoints != len(metrics) { t.Fatalf("Expected %v data points when toLowerAPILabels=false but got %v", expPoints, len(metrics)) } metrics = getHistogramMetrics(ttfbHist, getBucketTTFBDistributionMD(), true, false)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.8K bytes - Viewed (0) -
cmd/tier.go
Name: tierRequestsFailure, Help: "Number of requests to download object from warm tier that failed", Type: counterMetric, } ) func (t *tierMetrics) Report() []MetricV2 { metrics := getHistogramMetrics(t.histogram, tierTTLBMD, true, true) t.RLock() defer t.RUnlock() for tier, stat := range t.requestsCount { metrics = append(metrics, MetricV2{ Description: tierRequestsSuccessMD,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
cmd/metrics-v3-types.go
extraLabels ...string, ) { if _, ok := m.descriptors[name]; !ok { panic(fmt.Sprintf("metric has no description: %s", name)) } dummyDesc := MetricDescription{} metricsV2 := getHistogramMetrics(hist, dummyDesc, false, false) mainLoop: for _, metric := range metricsV2 { for label, allowedValues := range filterByLabels { if !allowedValues.Contains(metric.VariableLabels[label]) { continue mainLoop
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Feb 28 19:33:08 UTC 2025 - 15.6K bytes - Viewed (0) -
cmd/metrics-v2.go
}) return }) return mg } // getHistogramMetrics fetches histogram metrics and returns it in a []Metric // Note: Typically used in MetricGroup.RegisterRead // // The toLowerAPILabels parameter is added for compatibility, // if set, it lowercases the `api` label values.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 133.4K bytes - Viewed (0)