Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsBucketMetricsGroup (0.31 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.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,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top