quality@glassfish.java.net

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

From: Naresh <Srinivas.Bhimisetty_at_Sun.COM>
Date: Fri, 21 Aug 2009 09:51:04 +0530

Okay.
I thought it should be uniform across all implementations.

-Naresh

Sankar Neelakandan wrote:
> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>