<div dir="ltr">Ok!<div>So h-inventory metric has a property 'metric-id', this property is used for mapping h-metric metric, right?</div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 14, 2016 at 5:40 PM Lukas Krejci <<a href="mailto:lkrejci@redhat.com">lkrejci@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On čtvrtek 14. července 2016 9:16:36 CEST Austin Kuo wrote:<br>
> Hi,<br>
> I’m currently working on vertx metric agent, my job is to enable the<br>
> inventory such that users can view the inventory and corresponding metrics.<br>
> My question is that how “real metric data” and “inventory metrics” are<br>
> matched?<br>
> Is it simply bound via id?<br>
><br>
<br>
There is no predefined way of doing it actually. It might be by id (or you can<br>
use inventory's canonical path of the metrics as its id in h-metrics) or even<br>
use a different ID in h-metrics and only store an info about it in inventory.<br>
This is actually what wildfly agent is currently doing (see the thread<br>
starting with<br>
<a href="http://lists.jboss.org/pipermail/hawkular-dev/2016-July/002973.html" rel="noreferrer" target="_blank">http://lists.jboss.org/pipermail/hawkular-dev/2016-July/002973.html</a>).<br>
<br>
> Thanks,<br>
> Austin<br>
<br>
<br>
--<br>
Lukas Krejci<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>