TOMEE-2286 MicroProfile Metrics Example for @Gauge - merged

2019-05-26 Thread David Blevins
Ivan, I did my best to fix the merge conflict that was in PR #213 so it could be merged, then I went ahead and merged it. - https://github.com/apache/tomee/pull/213 The approach I took was to remove the `examples/mp-metrics-counted/README.md` file that was causing the conflict. What I don't

Re: Microprofile Metrics Example

2018-11-28 Thread Ivan Junckes Filho
7.0 >> > > > # TYPE base:memory_committed_heap_bytes gauge >> > > > base:memory_committed_heap_bytes 3.70147328E8 >> > > > # TYPE base:thread_max_count counter >> > > > base:thread_max_count 39.0 >> > > > # TYPE base:cpu

Re: Microprofile Metrics Example

2018-11-27 Thread Ivan Junckes Filho
.0 > > > > # TYPE base:cpu_available_processors gauge > > > > base:cpu_available_processors 4.0 > > > > # TYPE base:thread_daemon_count counter > > > > base:thread_daemon_count 38.0 > > > > # TYPE base:classloader_total_unloaded_class_count counter > >

Re: Microprofile Metrics Example

2018-11-20 Thread Romain Manni-Bucau
ase:classloader_total_unloaded_class_count 8847.0 > > > # TYPE base:memory_max_heap_bytes gauge > > > base:memory_max_heap_bytes 3.817865216E9 > > > # TYPE base:gc_ps_mark_sweep_time_seconds gauge > > > base:gc_ps_mark_sweep_time_seconds 1.19E-4 > > > # T

Re: Microprofile Metrics Example

2018-11-20 Thread César Hernández Mendoza
gt; > base:memory_max_heap_bytes 3.817865216E9 > > # TYPE base:gc_ps_mark_sweep_time_seconds gauge > > base:gc_ps_mark_sweep_time_seconds 1.19E-4 > > # TYPE base:memory_used_heap_bytes gauge > > base:memory_used_heap_bytes 6.7481504E7 > > # TYPE base:gc_ps_sc

Re: Microprofile Metrics Example

2018-11-20 Thread Ivan Junckes Filho
> > > > > > > > > Doing it like that you can easily bang out a bunch of examples in a > > few > > > > > days or a week. Then have the ability to walk into almost any room > > and > > > > give > > > > > an ad-hoc MicroProfile presentation tailor

Re: Microprofile Metrics Example

2018-11-20 Thread Jonathan Gallimore
any room > and > > > give > > > > an ad-hoc MicroProfile presentation tailored to the people in front > of > > > you. > > > > > > > > > > > > -- > > > > David Blevins > > > > http://twitter.com/dblevins >

Re: Microprofile Metrics Example

2018-11-20 Thread Daniel Cunha
> follow: > > > > > > > > > > https://github.com/apache/tomee/blob/master/examples/simple-stateless/README.md > > > > . > > > > > > > > I've merged your PR, and we can continue to iterate on it. Thanks for >

Re: Microprofile Metrics Example

2018-11-20 Thread Ivan Junckes Filho
the > > > contribution, I think its great to see some MicroProfile examples. I > > found > > > the examples really helpful when getting started with TomEE/OpenEJB > > myself, > > > and I'm sure folks will love seeing new examples for MicroProfile! > > > > > >

Re: Microprofile Metrics Example

2018-11-20 Thread Richard Monson-Haefel
junc...@gmail.com> > > wrote: > > > >> Done Jon, I will keep improving it. > >> > >> On Mon, Nov 19, 2018 at 6:01 PM Jonathan Gallimore < > >> jonathan.gallim...@gmail.com> wrote: > >> > >>> Very cool. I'd suggest adding

Re: Microprofile Metrics Example

2018-11-20 Thread Ivan Junckes Filho
; # TYPE base:memory_used_heap_bytes gauge > > base:memory_used_heap_bytes 6.7481504E7 > > # TYPE base:gc_ps_scavenge_time_seconds gauge > > base:gc_ps_scavenge_time_seconds 1.09E-4 > > # TYPE vendor:start_time counter > > vendor:start_time 1.542679428814E12 > > &g

Re: Microprofile Metrics Example

2018-11-20 Thread Ivan Junckes Filho
junc...@gmail.com> > > wrote: > > > >> Done Jon, I will keep improving it. > >> > >> On Mon, Nov 19, 2018 at 6:01 PM Jonathan Gallimore < > >> jonathan.gallim...@gmail.com> wrote: > >> > >>> Very cool. I'd suggest adding a REA

Re: Microprofile Metrics Example

2018-11-19 Thread Romain Manni-Bucau
conds 1.09E-4 > # TYPE vendor:start_time counter > vendor:start_time 1.542679428814E12 > > > This is not stated on the MP metrics spec. So I wonder if TomEE should > provide a set of properties to avoid these random behaviors. > > > El lun., 19 nov. 2018 a las 13:51, Ivan Ju

Re: Microprofile Metrics Example

2018-11-19 Thread César Hernández Mendoza
time counter vendor:start_time 1.542679428814E12 This is not stated on the MP metrics spec. So I wonder if TomEE should provide a set of properties to avoid these random behaviors. El lun., 19 nov. 2018 a las 13:51, Ivan Junckes Filho (< ivanjunc...@gmail.com>) escribió: > Hey guys,

Re: Microprofile Metrics Example

2018-11-19 Thread David Blevins
ep improving it. >> >> On Mon, Nov 19, 2018 at 6:01 PM Jonathan Gallimore < >> jonathan.gallim...@gmail.com> wrote: >> >>> Very cool. I'd suggest adding a README like the other examples have, as >>> that can be linked from the website, and they

[GitHub] tomee pull request #203: TOMEE-2279 - Microprofile Metrics example

2018-11-19 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/tomee/pull/203 ---

Re: Microprofile Metrics Example

2018-11-19 Thread Jonathan Gallimore
> Jon > > > > On Mon, 19 Nov 2018, 19:51 Ivan Junckes Filho > wrote: > > > > > Hey guys, just to let you know that I created a Microprofile Metrics > > > Example under Tomee. > > > > > > I am still working on that and I will provide more

Re: Microprofile Metrics Example

2018-11-19 Thread Daniel Cunha
v 2018, 19:51 Ivan Junckes Filho > wrote: > > > > > Hey guys, just to let you know that I created a Microprofile Metrics > > > Example under Tomee. > > > > > > I am still working on that and I will provide more test scenarios. > > > > > >

Re: Microprofile Metrics Example

2018-11-19 Thread Ivan Junckes Filho
cumentation. > > Jon > > On Mon, 19 Nov 2018, 19:51 Ivan Junckes Filho wrote: > > > Hey guys, just to let you know that I created a Microprofile Metrics > > Example under Tomee. > > > > I am still working on that and I will provide more test scenarios. &

Re: Microprofile Metrics Example

2018-11-19 Thread Jonathan Gallimore
Very cool. I'd suggest adding a README like the other examples have, as that can be linked from the website, and they usually provide great documentation. Jon On Mon, 19 Nov 2018, 19:51 Ivan Junckes Filho Hey guys, just to let you know that I created a Microprofile Metrics > Example und

Microprofile Metrics Example

2018-11-19 Thread Ivan Junckes Filho
Hey guys, just to let you know that I created a Microprofile Metrics Example under Tomee. I am still working on that and I will provide more test scenarios. Here is the PR if you want to review the work so far: https://github.com/apache/tomee/pull/203 Feel free to merge if you think this can be

[GitHub] tomee pull request #203: TOMEE-2279 - Microprofile Metrics example

2018-11-19 Thread ivanjunckes
GitHub user ivanjunckes opened a pull request: https://github.com/apache/tomee/pull/203 TOMEE-2279 - Microprofile Metrics example You can merge this pull request into a Git repository by running: $ git pull https://github.com/ivanjunckes/tomee metrics-example Alternatively