Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetSRMetrics (0.09 sec)

  1. cmd/peer-rest-client.go

    		peerRESTBucket: bucket,
    	}))
    	if err != nil || resp == nil {
    		return BucketStats{}, err
    	}
    	return *resp, nil
    }
    
    // GetSRMetrics loads site replication metrics, optionally for a specific bucket
    func (client *peerRESTClient) GetSRMetrics(ctx context.Context) (SRMetricsSummary, error) {
    	resp, err := getSRMetricsRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	if err != nil || resp == nil {
    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

    	for index, client := range sys.peerClients {
    		index := index
    		client := client
    		ng.Go(ctx, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			sm, err := client.GetSRMetrics(ctx)
    			if err != nil {
    				return err
    			}
    			siteStats[index] = sm
    			return nil
    		}, index, *client.host)
    	}
    	for _, nErr := range ng.Wait() {
    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