[jboss-jira] [JBoss JIRA] (WFLY-12311) Replace Prometheus Simpleclient by smallrye-metrics

Jeff Mesnil (Jira) issues at jboss.org
Thu Sep 12 08:10:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-12311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783501#comment-13783501 ] 

Jeff Mesnil commented on WFLY-12311:
------------------------------------

In order to replace prometheus client by smallrye-metrics, we need to be able to output WIldFly subsystem metrics in the OpenMetrics format *without* the microprofile scope prefix.

A RFE for smallrye-metrics has been opened at https://github.com/smallrye/smallrye-metrics/pull/177. Once it merged and release, we will be able to remove Prometheus simpleclient from WildFly codebase (draft PR at https://github.com/wildfly/wildfly/pull/12632 that relies on a local build of smallrye-metrics with #177 merged)

> Replace Prometheus Simpleclient by smallrye-metrics
> ---------------------------------------------------
>
>                 Key: WFLY-12311
>                 URL: https://issues.jboss.org/browse/WFLY-12311
>             Project: WildFly
>          Issue Type: Task
>          Components: MP Metrics
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>            Priority: Blocker
>             Fix For: 18.0.0.Final
>
>
> The microprofile-metrics-smallrye extension uses prometheus simple client to collect and expose subsystem metrics because MP Metrics 1.x had blocking limitations (mainly that the metric names must be globally unique and tags/labels were not taken into account to determine uniqueness).
> With MP Metrics 2.x, some of these limitations have been removed and it should be possible to use smallrye-metrics internally to expose WildFly subsystem metrics



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jboss-jira mailing list