This content has been marked as final.
Show 4 replies
-
1. Re: Wildfly 16 Microprofile Metrics - which version?
boris59 May 27, 2019 7:20 AM (in response to rsoika)In short: 1.1
Long version:
- If you have a look at
<WF>/modules/system/layers/base/io/smallrye/metrics/main
you'll see that Smallrye version 1.1.3 is used. - Within its JAR you find a reference to its parent POM which is located (e.g.) on Maven Central here: https://search.maven.org/artifact/io.smallrye/smallrye-metrics-parent/1.1.3/pom
- The POM specifies
<version.microprofile-metrics>1.1</version.microprofile-metrics>
HTH.
- If you have a look at
-
2. Re: Wildfly 16 Microprofile Metrics - which version?
rsoika May 27, 2019 4:15 PM (in response to boris59)Thanks for your answer. Yes I figured it out now.
Is there a way to run Wildfly 16.0.0 with newer versions of Microprofile?
-
3. Re: Wildfly 16 Microprofile Metrics - which version?
rsoika May 27, 2019 4:46 PM (in response to rsoika)I just tried it out. I build a custom docker image with Wildfly 16.0.0 and the following updated libraries
- smallrye-metrics-2.0-1.0.1-SNAPSHOT.jar
- microprofile-metrics-api-2.0.0.jar
just added the new libraries in the corresponding module directories and updated the module.xml files:
- /modules/system/layers/base/io/smallrye/metrics/main
- /modules/system/layers/base/org/eclipse/microprofile/metrics/api/main
this works great and I have now Wildfly 16.0.0 running with Microprofile Metrics 2.0.0
I hope this will become part of Wildfly version 17.0.0 or a 16.0.1 release.
-
4. Re: Wildfly 16 Microprofile Metrics - which version?
boris59 Jun 4, 2019 12:43 AM (in response to rsoika)I would second that. MicroProfile was added in WF 15 (see WF news > WFLY-10712) and I think it's great to have it available in Wildfly. Now extending upon it would be nice.