Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/notification.go

    			return err
    		}, index)
    	}
    	return sys.collectPeerMetrics(ctx, peerChannels, g)
    }
    
    // GetClusterMetrics - gets the cluster metrics from all nodes excluding self.
    func (sys *NotificationSys) GetClusterMetrics(ctx context.Context) <-chan MetricV2 {
    	if sys == nil {
    		return nil
    	}
    	g := errgroup.WithNErrs(len(sys.peerClients))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		}
    	}
    
    	// Call peer api to fetch metrics
    	wg.Add(2)
    	go publish(ReportMetrics(GlobalContext, c.metricsGroups))
    	go publish(globalNotificationSys.GetClusterMetrics(GlobalContext))
    	wg.Wait()
    }
    
    // ReportMetrics reports serialized metrics to the channel passed for the metrics generated.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top