dev@glassfish.java.net

Re: monitoring - stats providers (registration?) issue

From: Pavel Bucek <Pavel.Bucek_at_Sun.COM>
Date: Thu, 12 Aug 2010 16:47:58 +0200

Ha! Thats it, thanks!

./bin/asadmin get -m "*" # empty output
./bin/asadmin get -m "server.*" # expected output..

(ugly issue by the way.. I'd expect this is thoroughly tested)..

Pavel


On 8/12/10 4:14 PM, Vijay Ramachandran wrote:
> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>