3 Replies Latest reply: Apr 16, 2013 1:38 AM by Kayaman RSS

    Switch On and Off the statistics of JavaMelody through configuration

    800839
      Hi,

      I am using JavaMelody performance monitoring tool, in my code base with the respective XML configuration and annotations in "DEV" environment. Since these Javamelody related configurations are coupled with the source code is there any where we can write a logic or using some configuration where we can switch "On" and "Off" the configuration? Because we are going to do the performance monitoring only in "DEV" env and not in "PROD" env. Hence when it goes to the "PROD" is there any way to switch OFF this performance monitoring configuration which is coupled with the soure code? What are the best ways of doing so? please clarify.

      Thanks.