<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 5:10 AM, Thomas Heute <span dir="ltr">&lt;<a href="mailto:theute@redhat.com" target="_blank">theute@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Awesome !<div><br></div><div>So, &quot;only&quot; 2 ManageIQ repositories are &quot;affected&quot; by the inventory change so far ? (+ruby gem)</div></div></blockquote><div>Yes, there might be some changes on the operations (provider code) that aren&#39;t yet there.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Do we need to be concerned about dropping the &quot;context&quot; / name conflicts here:</div><div><a href="https://github.com/josejulio/manageiq/commit/d9efb93ad2909bcea57882801b944fba8924dd11" target="_blank">https://github.com/josejulio/<wbr>manageiq/commit/<wbr>d9efb93ad2909bcea57882801b944f<wbr>ba8924dd11</a> <br></div></div></blockquote><div><br></div><div>Those  are the metric names/ids (referenced on the inventory) for each &#39;server&#39;, &#39;topic&#39;, &#39;queue&#39;, &#39;datasource&#39;.</div><div>It shouldn&#39;t be a concern, unless we are referencing a children metric on the top level, but can be worked out.</div><div><br></div><div>I have noticed that &quot;Transactions Metrics&quot; fall onto this category, they are not directly related to the server (but to a children of it) on the inventory.</div><div><br></div><div><a href="https://github.com/josejulio/manageiq/commit/d9efb93ad2909bcea57882801b944fba8924dd11#diff-c506823e5b9e20b8267ab83137ee0c26L29">https://github.com/josejulio/manageiq/commit/d9efb93ad2909bcea57882801b944fba8924dd11#diff-c506823e5b9e20b8267ab83137ee0c26L29</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div><br></div><div>Thomas</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On Fri, Nov 3, 2017 at 8:49 PM, Josejulio Martinez Magana <span dir="ltr">&lt;<a href="mailto:jmartine@redhat.com" target="_blank">jmartine@redhat.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5"><div dir="ltr"><div>Current master branch of Hawkular-Services already integrates our new inventory version.<br></div><div><br></div><div>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.<br></div><div><br></div><div>Here are some details to demo it:</div><div><br></div><div>I’m attaching a docker-compose.yml (thanks Edgar) to make it easier to test.</div><div><br></div><div>1) You should have ManageIQ dependencies already installed, you can follow this getting started [1] right before “Cloning and configuring the application”</div><div><br></div><div>2) Clonning the updated repositories (currently my forks [2, 3])</div><div><br></div><div><font face="monospace, monospace">  mkdir ManageIQ-inventoryv4 &amp;&amp; cd ManageIQ-inventoryv4</font></div><div><font face="monospace, monospace">  git clone -b </font><span style="font-family:monospace,monospace">hawkular-1259</span><span style="font-family:monospace,monospace"> <a href="https://github.com/josejulio/manageiq" target="_blank">https://githu<wbr>b.com/josejulio/manageiq</a></span></div><div><font face="monospace, monospace">  git clone </font><font face="monospace, monospace">-b </font><span style="font-family:monospace,monospace">hawkular-1259</span><span style="font-family:monospace,monospace"> <a href="https://github.com/josejulio/manageiq-providers-hawkular" target="_blank">https:/<wbr>/github.com/josejulio/manageiq<wbr>-providers-hawkular</a></span></div><div><span style="font-family:monospace,monospace">  </span><span style="font-family:monospace,monospace">cd manageiq</span></div><div><font face="monospace, monospace">  echo override_gem &#39;manageiq-providers-hawkular&#39;, path: File.expand_path(\&quot;../../manag<wbr>eiq-providers-hawkular\&quot;, __dir__) &gt;&gt; bundler.d/vendor.rb</font></div><div><font face="monospace, monospace">  ./bin/setup</font></div><div><br></div><div>2) Start hawkular services (with the attached docker-compose.yml)</div><div> </div><div><font face="monospace, monospace">  docker compose up</font></div><div><br></div><div>3) Start manageiq (in manageiq path)</div><div><br></div><div><font face="monospace, monospace">    bundle exec rake evm:start</font></div><div><br></div><div>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.</div><div><br></div><div>Note: This is not about using Prometheus (yet).</div><div><br></div><div>[1] <a href="https://github.com/ManageIQ/manageiq-providers-hawkular/blob/master/GETTING_STARTED.md" target="_blank">https://github.com/ManageIQ/ma<wbr>nageiq-providers-hawkular/blob<wbr>/master/GETTING_STARTED.md</a></div><div>[2] <a href="https://github.com/josejulio/manageiq-providers-hawkular/tree/hawkular-1259" target="_blank">https://github.com/josejulio/m<wbr>anageiq-providers-hawkular/tre<wbr>e/hawkular-1259</a></div><div>[3] <a href="https://github.com/josejulio/manageiq/tree/hawkular-1259" target="_blank">https://github.com/josejulio/m<wbr>anageiq/tree/hawkular-1259</a><br></div></div>
<br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/hawkular-dev</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">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/<wbr>mailman/listinfo/hawkular-dev</a><br>
<br></blockquote></div><br></div></div>