Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mgMap (0.02 sec)

  1. cmd/metrics-v3.go

    	for path, collector := range collectors {
    		gatherers[path] = mustRegister(collector)
    		collectorPaths = append(collectorPaths, path)
    	}
    	slices.Sort(collectorPaths)
    	return &metricsV3Collection{
    		mgMap:          mgMap,
    		bucketMGMap:    bucketMGMap,
    		mgGatherers:    gatherers,
    		collectorPaths: collectorPaths,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/metrics-v3-handler.go

    	// First collect all matching MetricsGroup's
    	matchingMG := make(map[collectorPath]*MetricsGroup)
    	for _, collPath := range h.metricsData.collectorPaths {
    		if collPath.isDescendantOf(path) {
    			if v, ok := h.metricsData.mgMap[collPath]; ok {
    				matchingMG[collPath] = v
    			} else if v, ok := h.metricsData.bucketMGMap[collPath]; ok {
    				matchingMG[collPath] = v
    			}
    		}
    	}
    
    	if len(matchingMG) == 0 {
    		return nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top