Ok!
So h-inventory metric has a property 'metric-id', this property is used for
mapping h-metric metric, right?
Thanks
On Thu, Jul 14, 2016 at 5:40 PM Lukas Krejci <lkrejci(a)redhat.com> wrote:
On čtvrtek 14. července 2016 9:16:36 CEST Austin Kuo wrote:
> Hi,
> I’m currently working on vertx metric agent, my job is to enable the
> inventory such that users can view the inventory and corresponding
metrics.
> My question is that how “real metric data” and “inventory metrics” are
> matched?
> Is it simply bound via id?
>
There is no predefined way of doing it actually. It might be by id (or you
can
use inventory's canonical path of the metrics as its id in h-metrics) or
even
use a different ID in h-metrics and only store an info about it in
inventory.
This is actually what wildfly agent is currently doing (see the thread
starting with
http://lists.jboss.org/pipermail/hawkular-dev/2016-July/002973.html).
> Thanks,
> Austin
--
Lukas Krejci
_______________________________________________
hawkular-dev mailing list
hawkular-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev