zorka.ZorkaStats.HttpStats.Attributes.stats Unavailable

45 views
Skip to first unread message

Yahong Gu

unread,
May 13, 2015, 11:28:27 PM5/13/15
to zorka...@googlegroups.com
I'm playing with zorka agent monitoring tomcat 8.0.21 using the out-of-box examples app. I got trace working on the local log/trace.ztr and able to view the trace data using the zorka-viewer.jar.

However, I did NOT see the aggregated response metrics that are expected to be available through JMX, i.e. MBean under "zorka.ZorkaStats.HttpStats.Attributes.stats". I'm not sure if my expectation is wrong or I missed any configurations.

Below are the relevant configurations I used in zorka.properties:

scripts = jvm.bsh, zabbix.bsh, apache/tomcat.bsh
zorka.spy.compute.frames = yes
tracer = yes
tracer.file = yes
tracer.min.trace.time = 0
tracer.min.method.time = 0
http.trace.exclude = ~.*.png, ~.*.gif, ~.*.js, ~.*.css, ~.*.jpg, ~.*.jpeg, ~.*favicon.ico

traps = yes
traps.file = yes

http.stats = yes
http.stats.congestion = yes
http.stats.mbean = zorka:type=ZorkaStats,name=HttpStats

http.tags = yes
http.tags.0 = example
http.tags.1 = example
http.tags.1.uri = .*examples.*

Yahong Gu

unread,
May 15, 2015, 9:06:46 AM5/15/15
to zorka...@googlegroups.com
nevermind,  I was using JConsole, since the published stats under ZorkStats is not simple data types, e.g. number, string and the class is not recognizable by JConsole, thus shown in JConsole as Unavailable.

Rafal Lewczuk

unread,
May 21, 2015, 12:26:55 AM5/21/15
to zorka...@googlegroups.com
Hello,

This is unfortunate that ZorkaStats statistics are not serializable nor standard CompositeData/TabularData, thus are not visible in JConsole. Some time ago I've decided to not fix this issue as 'zorka.ls[]' works just as good and JMX is broken in this regard anyway.

Regards,
rle

Reply all
Reply to author
Forward
0 new messages