diff --git a/go/vt/servenv/exporter.go b/go/vt/servenv/exporter.go index 1b148b63103..7adb3e18f2c 100644 --- a/go/vt/servenv/exporter.go +++ b/go/vt/servenv/exporter.go @@ -106,6 +106,10 @@ type Exporter struct { mu sync.Mutex } +func init() { + HTTPHandle("/debug/vars", expvar.Handler()) +} + // NewExporter creates a new Exporter with name as namespace. // label is the name of the additional dimension for the stats vars. func NewExporter(name, label string) *Exporter {