func NewVarz(r *registry.RouteRegistry) Varz { x := &RealVarz{r: r} x.activeApps = stats.NewActiveApps() x.topApps = stats.NewTopApps() x.All = NewHttpMetric() x.Tags.Component = make(map[string]*HttpMetric) return x }
func (_ nullVarz) ActiveApps() *stats.ActiveApps { return stats.NewActiveApps() }