Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for peerMetricsGroups (0.19 sec)

  1. cmd/peer-rest-server.go

    // GetPeerMetrics gets the metrics to be federated across peers.
    func (s *peerRESTServer) GetPeerMetrics(_ *grid.MSS) (*grid.Array[*MetricV2], *grid.RemoteErr) {
    	res := make([]*MetricV2, 0, len(peerMetricsGroups))
    	populateAndPublish(peerMetricsGroups, func(m MetricV2) bool {
    		if m.VariableLabels == nil {
    			m.VariableLabels = make(map[string]string, 1)
    		}
    		m.VariableLabels[serverName] = globalLocalNodeName
    		res = append(res, &m)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    )
    
    //go:generate msgp -file=$GOFILE -unexported -io=false
    
    var (
    	nodeCollector           *minioNodeCollector
    	clusterCollector        *minioClusterCollector
    	bucketCollector         *minioBucketCollector
    	peerMetricsGroups       []*MetricsGroupV2
    	bucketPeerMetricsGroups []*MetricsGroupV2
    )
    
    func init() {
    	clusterMetricsGroups := []*MetricsGroupV2{
    		getNodeHealthMetrics(MetricsGroupOpts{dependGlobalNotificationSys: true}),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top