Hi
I'm counting separately the rate (meter) of errors and successes in my app.
The issue I have is that once I got a bunch of errors (i.e. called 
errors.mark()) and after this no errors at all,
the moving average of the error metric stays the same because it seems only 
recomputed when you call meter.mark().
Is this expected?
Should I implement a logic like:
def updateMetric(success:Boolean): Unit {
  successes.mark(success ? 1: 0)
  errors.mark(success ? 0 : 1 )
}
?
Thanks 

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to