Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetPeerBucketMetrics (0.16 sec)

  1. cmd/peer-rest-client.go

    			if m == nil {
    				continue
    			}
    			select {
    			case <-ctx.Done():
    				return
    			case ch <- *m:
    			}
    		}
    	}()
    	return ch, nil
    }
    
    func (client *peerRESTClient) GetPeerBucketMetrics(ctx context.Context) (<-chan MetricV2, error) {
    	resp, err := getPeerBucketMetricsRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	if err != nil {
    		return nil, err
    	}
    	ch := make(chan MetricV2)
    	go func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/notification.go

    		index := index
    		g.Go(func() error {
    			if sys.peerClients[index] == nil {
    				return errPeerNotReachable
    			}
    			var err error
    			peerChannels[index], err = sys.peerClients[index].GetPeerBucketMetrics(ctx)
    			return err
    		}, index)
    	}
    	return sys.collectPeerMetrics(ctx, peerChannels, g)
    }
    
    // GetClusterMetrics - gets the cluster metrics from all nodes excluding self.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top