Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resourceMetricsGroups (0.24 sec)

  1. cmd/metrics-resource.go

    		cpuLoad5Perc:      "CPU load average 5min (percentage)",
    		cpuLoad15Perc:     "CPU load average 15min (percentage)",
    	}
    	resourceMetricsGroups = []*MetricsGroupV2{
    		getResourceMetrics(),
    	}
    
    	resourceCollector = newMinioResourceCollector(resourceMetricsGroups)
    }
    
    func getResourceKey(name MetricName, labels map[string]string) string {
    	// labels are used to uniquely identify a metric
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    }
    
    func (s *peerRESTServer) GetResourceMetrics(_ *grid.MSS) (*grid.Array[*MetricV2], *grid.RemoteErr) {
    	res := make([]*MetricV2, 0, len(resourceMetricsGroups))
    	populateAndPublish(resourceMetricsGroups, func(m MetricV2) bool {
    		if m.VariableLabels == nil {
    			m.VariableLabels = make(map[string]string, 1)
    		}
    		m.VariableLabels[serverName] = globalLocalNodeName
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top