Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getHistogramMetrics (0.19 sec)

  1. 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)
    	t.RLock()
    	defer t.RUnlock()
    	for tier, stat := range t.requestsCount {
    		metrics = append(metrics, MetricV2{
    			Description:    tierRequestsSuccessMD,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (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)
    mainLoop:
    	for _, metric := range metricsV2 {
    		for label, allowedValues := range filterByLabels {
    			if !allowedValues.Contains(metric.VariableLabels[label]) {
    				continue mainLoop
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top