dropwizard/metrics

How to get current tps ?

jjz921024 opened this issue · 2 comments

Hi, all

There are any way to get current tps of my running system by metrics?

I use Meter or Time, but the mean rate is not my expected.

If you want to get the current value of something at the exact moment in time, then you'll have to use a gauge. All other metric types (except for gauges and counters) are in some way pre-aggregated.

See https://metrics.dropwizard.io/4.1.22/manual/core.html for details.

got it,thank for you reply @joschi