func NewClusterManager(zone string, reg prometheus.Registerer) *ClusterManager {
	c := &ClusterManager{
		Zone: zone,
	}
	cc := ClusterManagerCollector{ClusterManager: c}
	prometheus.WrapRegistererWith(prometheus.Labels{"zone": zone}, reg).MustRegister(cc)
	return c
}
// NewClusterManager first creates a Prometheus-ignorant ClusterManager
// instance. Then, it creates a ClusterManagerCollector for the just created
// ClusterManager. Finally, it registers the ClusterManagerCollector with a
// wrapping Registerer that adds the zone as a label. In this way, the metrics
// collected by different ClusterManagerCollectors do not collide.
NewClusterManager first creates a Prometheus-ignorant ClusterManager
instance. Then, it creates a ClusterManagerCollector for the just created
ClusterManager. Finally, it registers the ClusterManagerCollector with a
wrapping Registerer that adds the zone as a label. In this way, the metrics
collected by different ClusterManagerCollectors do not collide.
// NewClusterManager first creates a Prometheus - ignorant ClusterManager // instance . Then it creates a ClusterManagerCollector for the just created // ClusterManager . Finally it registers the ClusterManagerCollector with a // wrapping Registerer that adds the zone as a label . In this way the metrics // collected by different ClusterManagerCollectors do not collide .
func NewClusterManager(zone string, reg prometheus.Registerer) *ClusterManager {
	c := &ClusterManager{
		Zone: zone,
	}
	cc := ClusterManagerCollector{ClusterManager: c}
	prometheus.WrapRegistererWith(prometheus.Labels{"zone": zone}, reg).MustRegister(cc)
	return c
}
func NewClusterManager ( zone string , reg prometheus . Registerer ) * ClusterManager { c := & ClusterManager { Zone : zone , } cc := ClusterManagerCollector { ClusterManager : c } prometheus . WrapRegistererWith ( prometheus . Labels { " " : zone } , reg ) . MustRegister ( cc ) return c }
NewClusterManager first creates a Prometheus-ignorant ClusterManager
instance.
NewClusterManager first creates a Prometheus - ignorant ClusterManager instance .