Closed GoogleCodeExporter closed 9 years ago
Manolis is right. hits are not lost when looking at the statistics of the "all"
period, but a few hits may not be added correctly when looking at the
statistics of the "day" period.
This is because of how the delta of hits is computed every minute in the method
Collector.collectCounterRequestData.
This happens only for the first hits on new requests which were unknown before
and so which are not yet in the statistics for the "all" period. And this
happens only for the hits on these new requests in the first minute when these
requests are unknown (or less depending on CollectTimerTask).
So very few hits are currently lost, and it has mostly zero impact on the
statistics overall: no harm.
But still after a complete study, a change will be made to fix this.
Original comment by evernat@free.fr
on 30 Apr 2011 at 1:55
The fix is committed in trunk (revision 1846) and it is ready for the next
release (1.29).
I have made a new build with the fix and it is available at:
http://javamelody.googlecode.com/files/javamelody-20110430.jar
Original comment by evernat@free.fr
on 30 Apr 2011 at 5:18
Original issue reported on code.google.com by
evernat@free.fr
on 30 Apr 2011 at 1:42