src/server/pkg/metrics/metrics.go
func NewReporter(clusterID string, kubeClient *kube.Clientset) *Reporter {
	reporter := &Reporter{
		segmentClient: newPersistentClient(),
		clusterID:     clusterID,
		kubeClient:    kubeClient,
	}
	go reporter.reportClusterMetrics()
	return reporter
}
func NewReporter(clusterID string, kubeClient *kube.Clientset) *Reporter {
	reporter := &Reporter{
		segmentClient: newPersistentClient(),
		clusterID:     clusterID,
		kubeClient:    kubeClient,
	}
	go reporter.reportClusterMetrics()
	return reporter
}
func NewReporter ( clusterID string , kubeClient * kube . Clientset ) * Reporter { reporter := & Reporter { segmentClient : newPersistentClient ( ) , clusterID : clusterID , kubeClient : kubeClient , } go reporter . reportClusterMetrics ( ) return reporter }
// NewReporter creates a new reporter and kicks off the loop to report cluster
// metrics
NewReporter creates a new reporter and kicks off the loop to report cluster metrics