cangwolf / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

Clear all/selective stats using button on UI mainpage. #421

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Javamelody provides good stats but it would be good if we can have a clear all 
stats or Reset stats functionality on UI main dashboard page. While developing 
and doing some load testing sometimes i want to see metrics before and after 
the change in code. As of now i have to manually delete the files after killing 
server, then redeploy and see new stats again. It would be nice if we can reset 
stats on the fly.

Also suppose javamelody is deployed with an app. it runs for 1 month accruing 
metrics. After a month a new release is deployed with performance change. Now 
even though system becomes faster it will take significant time to see new 
metrics as mean times will be slow to change. And it is almost impossible to 
predict performance of app between certain data ranges like this date to some 
other date. it would be really helpful if metrics can be shown on graph based 
on dates too. like meantime from range of date 1 to 2 , then 2 to 3 ,etc.

Finally another feature will be that along with being able to remove all stats 
we can clear of stats in particular date ranges. we have faced problems here 
with the production teams related to javamelody stat storage files disk space 
usage. There should be some way to archive past performance metrics without 
need to wipe out all metrics.

Original issue reported on code.google.com by ashish.thukral321 on 11 Jul 2014 at 11:52

GoogleCodeExporter commented 9 years ago
First paragraph:
If you want to reset stats to see only instant metrics for some minutes, for 
example while doing a load test, then the feature is already included:
- click on the "all" period
- and click on "Clear stats" or "Clear all stats",
- then run your load test
- and see new stats after refresh with the "all" period
(if you want to look at graphs at the same time, but for the "day" period and 
not the "all" period, you can open another browser, to not share the same http 
cookie)

Second paragraph:
That feature is also already included. You can choose the "day", "week", 
"month", "year", "all" but also a custom period between 2 dates. (And I suppose 
that you have a list of when each release was deployed into production, like 
you should.)

Third paragraph:
Disk space usage is not a reason to add a hack. You may provision enough space 
or better look at which files take space and then add http-transform-pattern or 
sql-transform-pattern parameters.

And so, can we close this issue?

Original comment by evernat@free.fr on 12 Jul 2014 at 9:58

GoogleCodeExporter commented 9 years ago
any news?

Original comment by evernat@free.fr on 19 Jul 2014 at 12:16

GoogleCodeExporter commented 9 years ago
No news and features seem to be already there (sometime not in the same way as 
asked).
So closing as invalid.

Original comment by evernat@free.fr on 13 Aug 2014 at 8:27