dev@glassfish.java.net

Re: monitoring - stats providers (registration?) issue

From: Vijay Ramachandran <vijay.ramachandran_at_oracle.com>
Date: Thu, 12 Aug 2010 07:14:16 -0700

Instead of using wild card, can you check if specifying full / part
dotted name for the monitored attribute (for example, <instance-name>.*
or <instance-name>.<monitored-attr>.*) works ?

If it works, please file a bug for the "asadmin get -m "*" not working

Thanks

Vijay

On 8/12/10 4:38 AM, Pavel Bucek wrote:
>
> Hello,
>
> I have some probes and stats provider module which registers listener
> to these probes, creates and registers custom stats providers.
>
> When I add some debugging output, I can see that statistics are
> counted as expected (so monitoring is enabled, probes are being
> emitted and caught by listeners).. but when I invoke
>
> ./bin/asadmin get -m "*"
>
> I get only blank line. Is there some clever way how can I debug
> registering stats provider classes? There is no exception or warning
> in glassfish server log during application run. get -m "*" command
> invocation or objects registration (StatsProviderManager.register(...)).
>
> I can create reproducible testcase if it helps..
>
> Thanks,
> Pavel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>