rcrowley / go-metrics

Go port of Coda Hale's Metrics library
Other
3.43k stars 493 forks source link

patch go-metrics/exp/exp.go to provide data in "/debug/vars" #160

Closed saj1th closed 7 years ago

saj1th commented 8 years ago

Would it make sense to patch go-metrics/exp/exp.go with something similar to https://github.com/codahale/metrics/blob/master/metrics.go#L311-L329 so that data would be available in the endpoint "/debug/vars" ?

saj1th commented 8 years ago

+cc @Dieterbe

mihasya commented 7 years ago

See https://github.com/rcrowley/go-metrics/blob/master/exp/exp.go.