Closed gvso closed 4 years ago
Here's my thought on this and why the methods should return 0:
min-request-count
, you will get an inconclusive result anyways.min-request-count=0
, we can probably assume the user wants a "kitchen-timer" mode. That is, the metrics don't matter for this user.RequestCount
, though there's an stronger and obvious argument for RequestCount
returning 0 when no requests in interval.Any thoughts?
When no request was made in the interval, Latency and ErrorRate returns errors that are propagated all the way to the main package. No requests shouldn't represent a metrics error.