Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12941

Microprofile count metrics does not increase in wildfly17

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 18.0.0.Final
    • None
    • MP Metrics
    • None

      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.

              rhn-cservice-bbaranow Bartosz Baranowski
              alirezaalallah alireza alallah (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: