rcrowley / go-metrics

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

exp panics when Healthcheck encountered #213

Open kenjones-cisco opened 6 years ago

kenjones-cisco commented 6 years ago

https://github.com/rcrowley/go-metrics/blob/1f30fe9094a513ce4c700b9a54458bbb0c96996c/exp/exp.go#L137

Seems that syncToExpvar is missing support for Healthcheck types. Either Healthcheck needs to be added or the default could be changed to a no-op instead of panic.