<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 <<a href="mailto:auszon3@gmail.com">auszon3@gmail.com</a>> 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'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's working, but it should be executed concurrently. So I'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 <<a href="mailto:tsegismo@redhat.com" target="_blank">tsegismo@redhat.com</a>> 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 "start" :)<br>
<br>
Of course more is better<br>
<br>
Le 21/07/2016 à 10:03, Austin Kuo a écrit :<br>
> no problem but why just 1 metric since there are a lot?<br>
><br>
><br>
> On Thu, Jul 21, 2016 at 4:39 AM Thomas Segismont <<a href="mailto:tsegismo@redhat.com" target="_blank">tsegismo@redhat.com</a><br>
> <mailto:<a href="mailto:tsegismo@redhat.com" target="_blank">tsegismo@redhat.com</a>>> wrote:<br>
><br>
> Great.<br>
><br>
> I believe you should start working on HttpServer reporting now (type +<br>
> resource + 1 metric).<br>
><br>
> IMO, you would benefit from extracting the Inventory HTTP client code<br>
> into something reusable to report different resources and types.<br>
><br>
> Regards,<br>
> Thomas<br>
><br>
> Le 19/07/2016 à 08:51, Austin Kuo a écrit :<br>
> > Hi,<br>
> > The current status is that I have created<br>
> ><br>
> > * a feed<br>
> > * a root resource with a resource type<br>
> > * a eventbus resource as a child of the root resource above with a<br>
> > resource type<br>
> > * a eventbus.handlers metrics with gauge metric type. This has a<br>
> > property 'metric-id' corresponding to the id of the metric data.<br>
> > Fortunately, now I can view the metric data graph from the client<br>
> > (hawkfx).<br>
> ><br>
> > Austin,<br>
> > Thanks.<br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > hawkular-dev mailing list<br>
> > <a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a> <mailto:<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>
> ><br>
> _______________________________________________<br>
> hawkular-dev mailing list<br>
> <a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a> <mailto:<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>
><br>
><br>
><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>
><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>