rcrowley / go-metrics

Go port of Coda Hale's Metrics library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make instance of exp available outside of package

svar29 opened this issue · comments

If someone is using a different http server (fasthttp instead of net/http), then we need to create instance of exp manually and control syncToExpvar in Handler.
So a public method to return instance of exp will help here.