<div dir="ltr">Also, I jus thought of a few of questions:<div><ol><li><font size="2">Does a kind of resource have an unique resource type ?</font></li><li><font size="2">Does a kind of metric have an unique metric type? or <span class="inbox-inbox-Apple-converted-space"> </span>for example, all counter metrics can share the same type (counter)...</font></li></ol><div><font size="2">Thanks.</font></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 26, 2016 at 4:16 PM Austin Kuo &lt;<a href="mailto:auszon3@gmail.com">auszon3@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I&#39;ve already add the http resource and the metric, but there seems to be a bug that inventory does not allow concurrent transactions when creating multiple resource types at the same time. If I send the request one by one, it&#39;s working, but it should be executed concurrently. So I&#39;m waiting for the fix before submitting the PR.</div></div><div dir="ltr"><div><br></div><div>Austin.</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 26, 2016 at 4:24 AM Thomas Segismont &lt;<a href="mailto:tsegismo@redhat.com" target="_blank">tsegismo@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">1 metric was just for the &quot;start&quot; :)<br>
<br>
Of course more is better<br>
<br>
Le 21/07/2016 à 10:03, Austin Kuo a écrit :<br>
&gt; no problem but why just 1 metric since there are a lot?<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jul 21, 2016 at 4:39 AM Thomas Segismont &lt;<a href="mailto:tsegismo@redhat.com" target="_blank">tsegismo@redhat.com</a><br>
&gt; &lt;mailto:<a href="mailto:tsegismo@redhat.com" target="_blank">tsegismo@redhat.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Great.<br>
&gt;<br>
&gt;     I believe you should start working on HttpServer reporting now (type +<br>
&gt;     resource + 1 metric).<br>
&gt;<br>
&gt;     IMO, you would benefit from extracting the Inventory HTTP client code<br>
&gt;     into something reusable to report different resources and types.<br>
&gt;<br>
&gt;     Regards,<br>
&gt;     Thomas<br>
&gt;<br>
&gt;     Le 19/07/2016 à 08:51, Austin Kuo a écrit :<br>
&gt;     &gt; Hi,<br>
&gt;     &gt; The current status is that I have created<br>
&gt;     &gt;<br>
&gt;     &gt;   * a feed<br>
&gt;     &gt;   * a root resource with a resource type<br>
&gt;     &gt;   * a eventbus resource as a child of the root resource above with a<br>
&gt;     &gt;     resource type<br>
&gt;     &gt;   * a eventbus.handlers metrics with gauge metric type. This has a<br>
&gt;     &gt;     property &#39;metric-id&#39; corresponding to the id of the metric data.<br>
&gt;     &gt;     Fortunately, now I can view the metric data graph from the client<br>
&gt;     &gt;     (hawkfx).<br>
&gt;     &gt;<br>
&gt;     &gt; Austin,<br>
&gt;     &gt; Thanks.<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; hawkular-dev mailing list<br>
&gt;     &gt; <a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a>&gt;<br>
&gt;     &gt; <a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
&gt;     &gt;<br>
&gt;     _______________________________________________<br>
&gt;     hawkular-dev mailing list<br>
&gt;     <a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a>&gt;<br>
&gt;     <a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; hawkular-dev mailing list<br>
&gt; <a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
&gt;<br>
_______________________________________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">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/mailman/listinfo/hawkular-dev</a><br>
</blockquote></div></blockquote></div>