rcrowley / go-metrics

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

Feature request: Write metrics to a local file as csv format. #272

Open arunsraga opened 4 years ago

arunsraga commented 4 years ago

Hi,

This is not an issue. It's a feature request.

I'm new to Golang. i'm using go-kit for building microservice. I'm wondering is there any possible way to write metrics to files (CSV / JSON) using go-metrics package.

As we have in java coda hale metrics CSV reporter https://github.com/infusionsoft/yammer-metrics/blob/master/metrics-core/src/main/java/com/codahale/metrics/CsvReporter.java