Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsBucketMetricsGroup (0.25 sec)

  1. cmd/metrics-v3-types.go

    	}
    	for i := 0; i < len(labels); i += 2 {
    		mg.ExtraLabels[labels[i]] = labels[i+1]
    	}
    }
    
    // IsBucketMetricsGroup - returns true if the given MetricsGroup is a bucket
    // metrics group.
    func (mg *MetricsGroup) IsBucketMetricsGroup() bool {
    	return mg.bucketLoader != nil
    }
    
    // Describe - implements prometheus.Collector interface.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/metrics-v3.go

    			mg.AddExtraLabels(
    				serverName, globalLocalNodeName,
    				// poolIndex, strconv.Itoa(globalLocalPoolIdx),
    			)
    		}
    		mg.SetCache(metricsCache)
    		if mg.IsBucketMetricsGroup() {
    			bucketMGMap[mg.CollectorPath] = mg
    		} else {
    			mgMap[mg.CollectorPath] = mg
    		}
    	}
    
    	// Prepare to register the collectors. Other than `MetricGroup` collectors,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top