Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetResourceKey (0.06 sec)

  1. cmd/metrics-resource.go

    	}
    	resourceMetricsGroups = []*MetricsGroupV2{
    		getResourceMetrics(),
    	}
    
    	resourceCollector = newMinioResourceCollector(resourceMetricsGroups)
    }
    
    func getResourceKey(name MetricName, labels map[string]string) string {
    	// labels are used to uniquely identify a metric
    	// e.g. reads_per_sec_{drive} inside the map
    	sfx := ""
    	for _, v := range labels {
    		if len(sfx) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top