go-metrics icon indicating copy to clipboard operation
go-metrics copied to clipboard

How to record cost time with metrics?

Open morefreeze opened this issue 8 years ago • 1 comments

I am a newbie for metrics. I need to record how long does a func take, I find timer doesn't show cost time every time in Update. How can I do this or it is impossible?

morefreeze avatar Dec 23 '15 09:12 morefreeze

you can see this. https://github.com/rcrowley/go-metrics/pull/113

yalay avatar Sep 02 '16 10:09 yalay