Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsBucketMetricsGroup (0.11 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K 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,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top