[jboss-jira] [JBoss JIRA] (WFLY-12941) Microprofile count metrics does not increase in wildfly17

Bartosz Baranowski (Jira) issues at jboss.org
Wed Jan 15 03:08:04 EST 2020


    [ https://issues.redhat.com/browse/WFLY-12941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948782#comment-13948782 ] 

Bartosz Baranowski commented on WFLY-12941:
-------------------------------------------

[~alireza.alallah] - WFLY is rolling forward, there are no backport( AFAIR ) - so yes.

> Microprofile count metrics  does not increase in wildfly17
> ----------------------------------------------------------
>
>                 Key: WFLY-12941
>                 URL: https://issues.redhat.com/browse/WFLY-12941
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP Metrics
>            Reporter: alireza alallah
>            Assignee: Jeff Mesnil
>            Priority: Major
>
> for example 
> @Path("/")
> public class RESTEndpoints {
>  
>     @GET
>     @Path("/hello")
>     @Counted(name"total_count",absolute = true)
>     public String hello(@DefaultValue("my friend!") @QueryParam("name") String name) {
>         return "Hello "+name;
>  
>     }
>  
> }
> Now in  http://localhost:9990/metrics *total_count* metric does not increase after invoke endpoint.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list