Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getHistogramMetrics (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. cmd/metrics-v2.go

    		})
    		return metrics
    	})
    	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.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
Back to Top