You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2018/10/24 13:21:22 UTC
metrics & sigar
Hi guys,
what about an integration module between our metrics (like BaseMetrics) and
sigar to have more insights? I see it as an extension module registering
some mertrics in base registry at startup
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Re: metrics & sigar
Posted by Romain Manni-Bucau <rm...@gmail.com>.
PS: we can do the same for tomcat connectors and so on (other extension
modules probably)
To illustrate it, here what i'm using in a meecrowave app (it is not all
potential metrics but a good chunk):
https://gist.github.com/rmannibucau/a623903d1a905d78e61a891c44d4d682
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Le mer. 24 oct. 2018 à 15:21, Romain Manni-Bucau <rm...@gmail.com> a
écrit :
> Hi guys,
>
> what about an integration module between our metrics (like BaseMetrics)
> and sigar to have more insights? I see it as an extension module
> registering some mertrics in base registry at startup
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github
> <https://github.com/rmannibucau> | LinkedIn
> <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
>
Re: metrics & sigar
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks for the update.
I'm in vacation right now but I will take a look asap.
Regards
JB
On 25/10/2018 18:24, Romain Manni-Bucau wrote:
> Push the initial code if anyone can review, i'd like to release it soon
> (like tomorrow if i can get some positive feedback otherwise it will
> wait for next week)
>
> @JB: managed to create some "Registrar" which are MP independent so you
> can reuse it in Karaf, we can refine the way it is done if needed
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github
> <https://github.com/rmannibucau> | LinkedIn
> <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
>
>
> Le jeu. 25 oct. 2018 à 11:35, Romain Manni-Bucau <rmannibucau@gmail.com
> <ma...@gmail.com>> a écrit :
>
> Created https://issues.apache.org/jira/browse/GERONIMO-6653
>
> will try to work on it this afternoon and see if i can make it
> reusable for you JB (like with a metric consumer or so) to avoid to
> duplicate the code if we can
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github
> <https://github.com/rmannibucau> | LinkedIn
> <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
>
>
> Le jeu. 25 oct. 2018 à 06:28, Jean-Baptiste Onofré <jb@nanthrax.net
> <ma...@nanthrax.net>> a écrit :
>
> Hi,
>
> it sounds like a good idea. I also have a plan to provide a sigar
> collector for Karaf Decanter.
>
> Regards
> JB
>
> On 24/10/2018 15:21, Romain Manni-Bucau wrote:
> > Hi guys,
> >
> > what about an integration module between our metrics (like
> BaseMetrics)
> > and sigar to have more insights? I see it as an extension module
> > registering some mertrics in base registry at startup
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> | Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github
> > <https://github.com/rmannibucau> | LinkedIn
> > <https://www.linkedin.com/in/rmannibucau> | Book
> >
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
>
Re: metrics & sigar
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Push the initial code if anyone can review, i'd like to release it soon
(like tomorrow if i can get some positive feedback otherwise it will wait
for next week)
@JB: managed to create some "Registrar" which are MP independent so you can
reuse it in Karaf, we can refine the way it is done if needed
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Le jeu. 25 oct. 2018 à 11:35, Romain Manni-Bucau <rm...@gmail.com> a
écrit :
> Created https://issues.apache.org/jira/browse/GERONIMO-6653
>
> will try to work on it this afternoon and see if i can make it reusable
> for you JB (like with a metric consumer or so) to avoid to duplicate the
> code if we can
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github
> <https://github.com/rmannibucau> | LinkedIn
> <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
>
>
> Le jeu. 25 oct. 2018 à 06:28, Jean-Baptiste Onofré <jb...@nanthrax.net> a
> écrit :
>
>> Hi,
>>
>> it sounds like a good idea. I also have a plan to provide a sigar
>> collector for Karaf Decanter.
>>
>> Regards
>> JB
>>
>> On 24/10/2018 15:21, Romain Manni-Bucau wrote:
>> > Hi guys,
>> >
>> > what about an integration module between our metrics (like BaseMetrics)
>> > and sigar to have more insights? I see it as an extension module
>> > registering some mertrics in base registry at startup
>> >
>> > Romain Manni-Bucau
>> > @rmannibucau <https://twitter.com/rmannibucau> | Blog
>> > <https://rmannibucau.metawerx.net/> | Old Blog
>> > <http://rmannibucau.wordpress.com> | Github
>> > <https://github.com/rmannibucau> | LinkedIn
>> > <https://www.linkedin.com/in/rmannibucau> | Book
>> > <
>> https://www.packtpub.com/application-development/java-ee-8-high-performance
>> >
>>
>
Re: metrics & sigar
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Created https://issues.apache.org/jira/browse/GERONIMO-6653
will try to work on it this afternoon and see if i can make it reusable for
you JB (like with a metric consumer or so) to avoid to duplicate the code
if we can
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Le jeu. 25 oct. 2018 à 06:28, Jean-Baptiste Onofré <jb...@nanthrax.net> a
écrit :
> Hi,
>
> it sounds like a good idea. I also have a plan to provide a sigar
> collector for Karaf Decanter.
>
> Regards
> JB
>
> On 24/10/2018 15:21, Romain Manni-Bucau wrote:
> > Hi guys,
> >
> > what about an integration module between our metrics (like BaseMetrics)
> > and sigar to have more insights? I see it as an extension module
> > registering some mertrics in base registry at startup
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> | Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github
> > <https://github.com/rmannibucau> | LinkedIn
> > <https://www.linkedin.com/in/rmannibucau> | Book
> > <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
>
Re: metrics & sigar
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
it sounds like a good idea. I also have a plan to provide a sigar
collector for Karaf Decanter.
Regards
JB
On 24/10/2018 15:21, Romain Manni-Bucau wrote:
> Hi guys,
>
> what about an integration module between our metrics (like BaseMetrics)
> and sigar to have more insights? I see it as an extension module
> registering some mertrics in base registry at startup
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github
> <https://github.com/rmannibucau> | LinkedIn
> <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>