<div dir="ltr"><div><br></div>I&#39;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&#39;s working very well.   I&#39;m trying it on SpringBoot next, but if it works on Karaf, I&#39;m not sure why it wouldn&#39;t work on SpringBoot.<div><br></div><div>Things I&#39;d like to contribute back possibly if they sound interesting : </div><div><br></div><div>- delay (the delay X seconds is useful, but I&#39;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&#39;s a way of slimming that down.    For our purposes, we&#39;re only really interested in JMX support, so I&#39;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">&lt;<a href="mailto:mazz@redhat.com" target="_blank">mazz@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt; &gt; I still need to see how well this supports the disabling/enabling of<br>
&gt; &gt; metrics on the fly from the websocket commands (e.g. I will need to add the ability<br>
&gt; &gt; to change the YAML config to persist the settings, that is not done yet -<br>
&gt; &gt; the EAP-based agent got this support for free - its config changes go into<br>
&gt; &gt; standalone.xml).<br>
&gt;<br>
&gt; Just checked - the cmdgw command to update collection intervals won&#39;t work<br>
&gt; because it is assuming the agent is always DMR-accessible which it no longer<br>
&gt; is. This won&#39;t be hard to refactor that command to get it to work, but for<br>
&gt; now, this will not work when running as javaagent - still works as normal<br>
&gt; 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&#39;m hard-pressed to think of a feature the WildFly Agent has that the javaagent does not (short of the obvious &quot;there is no CLI&quot; and &quot;there is no installer&quot; - but there is really nothing to install so that&#39;s moot). If anyone plays with this (especially with CFME on the front end) let me know what you find.<br>
<br>
I&#39;m sure I&#39;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&#39;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>