]
Bartosz Baranowski resolved WFLY-12941.
---------------------------------------
Fix Version/s: 18.0.0.Final
Assignee: Bartosz Baranowski (was: Jeff Mesnil)
Resolution: Out of Date
Resolving based on Reporters last comment - fixed in 18.
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: Bartosz Baranowski
Priority: Major
Fix For: 18.0.0.Final
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.