Hi Francois,

You are right. Geronimo Metrics 1.0.0 implementation, unfortunately is not 
compatible with TomEE 7 due to CDI 2.0 requirement.

The release notes are somehow misleading. We had the task there to add it, and 
we tried until we found the issue, so the issue was resolved as Incomplete. We 
probably need to adjust the template to not include these.

Regarding TomEE 8, they should work. Did you have a look in any of the samples?

https://github.com/apache/tomee/tree/master/examples/mp-metrics-counted 
<https://github.com/apache/tomee/tree/master/examples/mp-metrics-counted>
https://github.com/apache/tomee/tree/master/examples/mp-metrics-histogram 
<https://github.com/apache/tomee/tree/master/examples/mp-metrics-histogram>
https://github.com/apache/tomee/tree/master/examples/mp-metrics-metered 
<https://github.com/apache/tomee/tree/master/examples/mp-metrics-metered>
https://github.com/apache/tomee/tree/master/examples/mp-metrics-timed 
<https://github.com/apache/tomee/tree/master/examples/mp-metrics-timed>

Cheers,
Roberto

> On 3 Jan 2019, at 17:23, COURTAULT Francois <[email protected]> 
> wrote:
> 
> Hello,
> 
> Looking at 
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12343847&styleName=Html&projectId=12312320&Create=Create&atl_token=A5KQ-2QAV-T4JA-FDED%7C5568e1c4aa2bd4f868c2c534352d83971d50919e%7Clin
> 
> I see: [TOMEE-2215<https://issues.apache.org/jira/browse/TOMEE-2215>] - 
> MicroProfile Metrics 1.0
> 
> This seems quite confusing because, we might think that TomEE 7.1 support 
> metrics but if we look at 
> TOMEE-2215<https://issues.apache.org/jira/browse/TOMEE-2215>], it is written:
> "Apparently the Metrics implementation requires CDI 2.0 and is only available 
> in TomEE 8."
> So, it means that Geronimo Metrics 1.0.0 requires CDI 2.0, right ?
> And then it means that Metrics is not supported by TomEE 7.1, right ? So why 
> is it listed in the TomEE 7.1 release note ?
> 
> I was wondering if Metrics is working on TomEE 8.0.0 M1: I ran it but if , 
> through a browser, I want to have access at  
> http://localhost:8080/metrics/base, nothing is displayed :( (got a 404)
> Could you confirm or not if Metrics is working on TomEE 8.0.0 M1 ?
> 
> Best Regards.
> ________________________________
> This message and any attachments are intended solely for the addressees and 
> may contain confidential information. Any unauthorized use or disclosure, 
> either whole or partial, is prohibited.
> E-mails are susceptible to alteration. Our company shall not be liable for 
> the message if altered, changed or falsified. If you are not the intended 
> recipient of this message, please delete it and notify the sender.
> Although all reasonable efforts have been made to keep this transmission free 
> from viruses, the sender will not be liable for damages caused by a 
> transmitted virus.

Reply via email to