<div dir="ltr"><div><br></div>I've been testing this out for the past day, and this is fantastic. I have it attached to Karaf pushing metrics to Hawkular and it looks like it's working very well. I'm trying it on SpringBoot next, but if it works on Karaf, I'm not sure why it wouldn't work on SpringBoot.<div><br></div><div>Things I'd like to contribute back possibly if they sound interesting : </div><div><br></div><div>- delay (the delay X seconds is useful, but I'd like to have a way of polling to see if the MBeans are registered yet, and then starting the agent)</div><div>- size of javaagent : it looks like the JAR is about 24MB, I might look into seeing if there's a way of slimming that down. For our purposes, we're only really interested in JMX support, so I'm going to see if I can build a profile that filters out the DMR stuff and their dependencies for a smaller fat JAR</div><div>- optional log integration with Karaf?<br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 9, 2017 at 3:04 PM, John Mazzitelli <span dir="ltr"><<a href="mailto:mazz@redhat.com" target="_blank">mazz@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> > I still need to see how well this supports the disabling/enabling of<br>
> > metrics on the fly from the websocket commands (e.g. I will need to add the ability<br>
> > to change the YAML config to persist the settings, that is not done yet -<br>
> > the EAP-based agent got this support for free - its config changes go into<br>
> > standalone.xml).<br>
><br>
> Just checked - the cmdgw command to update collection intervals won't work<br>
> because it is assuming the agent is always DMR-accessible which it no longer<br>
> is. This won't be hard to refactor that command to get it to work, but for<br>
> now, this will not work when running as javaagent - still works as normal<br>
> with the subsystem agent.<br>
<br>
</span>This is fixed now. Updating collection intervals and enabling/disabling metrics should now work even when deployed at a javaagent.<br>
<br>
At this point in time, I'm hard-pressed to think of a feature the WildFly Agent has that the javaagent does not (short of the obvious "there is no CLI" and "there is no installer" - but there is really nothing to install so that's moot). If anyone plays with this (especially with CFME on the front end) let me know what you find.<br>
<br>
I'm sure I'm forgetting something, but right now, it looks like it is working really well. I just have to build in itests for it (right now, all the WildFly Agent itests still exist and pass, so I know I didn't break that).<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/hawkular-dev</a><br>
</div></div></blockquote></div><br></div>