szquadri / javamelody

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

Disabling storage of ser.gz and rrd at runtime #310

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to have the possibility to stop the storage of statistics on the 
disk at runtime, because i've no control on the application context and i 
cannot reload it to make javamelody reload the javamelody.disabled parameter.

SO it would be nice to have a "javamelody.disable-io" parameter that is not 
cached in a static final variable and tells CounterStorage and Jrobin classess 
to suspend writing of new and existing files.

Would it be possible?

Original issue reported on code.google.com by andrea.g...@plurimedia.it on 14 May 2013 at 10:44

GoogleCodeExporter commented 9 years ago
Sorry but no, this is not a valid use case.
In a nutshell, if you want to monitor something, it should be anytime or not, 
because otherwise you will not have a significant context.

You can see some slides from David Karlsen for example,
http://fr.slideshare.net/djkarlsen/significance-of-metrics
http://vimeo.com/channels/rootsconf#24706626

Original comment by evernat@free.fr on 13 Aug 2013 at 9:55