rcrowley / go-metrics

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

Support JSON marshalling of PrefixedRegistry. #181

Closed alecthomas closed 7 years ago

splittingfield commented 7 years ago

Hey @alecthomas, I think this work may be related to a PR I just filed that cleans up PrefixedRegistries quite a bit to allow nested registries. I think these may be related?

https://github.com/rcrowley/go-metrics/pull/183

alecthomas commented 7 years ago

@splittingfield Related yep. This one just allows PrefixedRegistry to be marshalled by proxying to the encapsulated registry.

mihasya commented 7 years ago

Seems entirely reasonable.