quality@glassfish.java.net

Re: Should setting a monitoring-level to OFF reset the monitored values?

From: Sankar Neelakandan <Sankar.Neelakandan_at_Sun.COM>
Date: Thu, 20 Aug 2009 09:37:45 -0700

Naresh,
      It depends on the implementation. When monitoring level is set to
OFF some implementations don't expose the stats but still collects the
stats, in that case when monitoring is enabled again it will show the
cumulative value since the server restart. In some cases the stats will
start to increment from 0 when monitoring is re enabled.
-Sankar

Naresh wrote:
> Hi,
>
> I have the following query regarding monitoring:
>
> If I do:
>
> ------------------------------------------------------------------
> asadmin set
> configs.config.server-config.monitoring-service.module-monitoring-levels.web-container=OFF,
>
> ------------------------------------------------------------------
>
> should the values of the attributes being monitored, say some
> hit-count, be reset?
> Or would they be incremented from the current value when
> monitoring-level is set back to HIGH.
>
> Thanks,
> Naresh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>