codahale-metrics

DropWizard Metrics Meters vs Timers

元气小坏坏 提交于 2019-11-28 15:57:20
问题 I am learning the DropWizard Metrics library (formerly Coda Hale metrics) and I am confused as to when I should be using Meters vs Timers . According to the docs: Meter: A meter measures the rate at which a set of events occur and: Timer: A timer is basically a histogram of the duration of a type of event and a meter of the rate of its occurrence Based on these definitions, I can't discern the difference between these. What's confusing me is that Timer is not used the way I would have