[Hawkular-dev] Hawkular Inventory v4 in ManageIQ

Josejulio Martinez Magana jmartine at redhat.com
Mon Nov 6 10:35:33 EST 2017


On Mon, Nov 6, 2017 at 5:10 AM, Thomas Heute <theute at redhat.com> wrote:

> Awesome !
>
> So, "only" 2 ManageIQ repositories are "affected" by the inventory change
> so far ? (+ruby gem)
>
Yes, there might be some changes on the operations (provider code) that
aren't yet there.


>
> Do we need to be concerned about dropping the "context" / name conflicts
> here:
> https://github.com/josejulio/manageiq/commit/
> d9efb93ad2909bcea57882801b944fba8924dd11
>

Those  are the metric names/ids (referenced on the inventory) for each
'server', 'topic', 'queue', 'datasource'.
It shouldn't be a concern, unless we are referencing a children metric on
the top level, but can be worked out.

I have noticed that "Transactions Metrics" fall onto this category, they
are not directly related to the server (but to a children of it) on the
inventory.

https://github.com/josejulio/manageiq/commit/d9efb93ad2909bcea57882801b944fba8924dd11#diff-c506823e5b9e20b8267ab83137ee0c26L29


>
>
> Thomas
>
> On Fri, Nov 3, 2017 at 8:49 PM, Josejulio Martinez Magana <
> jmartine at redhat.com> wrote:
>
>> Current master branch of Hawkular-Services already integrates our new
>> inventory version.
>>
>> There were changes on the provider code to use a new hawkular gem (not
>> yet released) and changes on the manageiq core are to bump the gem version
>> (currently using master) and to update the live metrics mapping.
>>
>> Here are some details to demo it:
>>
>> I’m attaching a docker-compose.yml (thanks Edgar) to make it easier to
>> test.
>>
>> 1) You should have ManageIQ dependencies already installed, you can
>> follow this getting started [1] right before “Cloning and configuring the
>> application”
>>
>> 2) Clonning the updated repositories (currently my forks [2, 3])
>>
>>   mkdir ManageIQ-inventoryv4 && cd ManageIQ-inventoryv4
>>   git clone -b hawkular-1259 https://github.com/josejulio/manageiq
>>   git clone -b hawkular-1259 https://github.com/josejulio/manageiq
>> -providers-hawkular
>>   cd manageiq
>>   echo override_gem 'manageiq-providers-hawkular', path:
>> File.expand_path(\"../../manageiq-providers-hawkular\", __dir__) >>
>> bundler.d/vendor.rb
>>   ./bin/setup
>>
>> 2) Start hawkular services (with the attached docker-compose.yml)
>>
>>   docker compose up
>>
>> 3) Start manageiq (in manageiq path)
>>
>>     bundle exec rake evm:start
>>
>> At this point you should have everything ready to add a middleware
>> provider to hawkular and see the usual data there but using the new
>> inventory backend.
>>
>> Note: This is not about using Prometheus (yet).
>>
>> [1] https://github.com/ManageIQ/manageiq-providers-hawkular/blob
>> /master/GETTING_STARTED.md
>> [2] https://github.com/josejulio/manageiq-providers-hawkular/tre
>> e/hawkular-1259
>> [3] https://github.com/josejulio/manageiq/tree/hawkular-1259
>>
>> _______________________________________________
>> hawkular-dev mailing list
>> hawkular-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>>
>>
>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20171106/b646cb95/attachment.html 


More information about the hawkular-dev mailing list