You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using microprofile metrics, @timed annotation, this does (as it should) count the number of calls, but the mean/max/percentiles of the measured times are always "0".
Tested with Payara 5.182 full and micro.
The same application runs well on other applications servers.
More details here:
we have a problem with eclipse microprofile metrics @timed annotation. It does not seem to measure times (only counts number of calls).
Description
When using microprofile metrics, @timed annotation, this does (as it should) count the number of calls, but the mean/max/percentiles of the measured times are always "0".
Tested with Payara 5.182 full and micro.
The same application runs well on other applications servers.
More details here:
we have a problem with eclipse microprofile metrics @timed annotation. It does not seem to measure times (only counts number of calls).
Tested with Payara 5.x full, micro and 4.x full.
Typical output via http://localhost:8080/metrics/application:
mean, max, quantiles are all "0.0", while count works well (= 4).
We have tried multiple combinations of Payara/JEE/Microprofile versions, each with the same result.
Here are some code snippets (base is taken from https://github.com/sdaschner/hello-prometheus/tree/microprofile, only added @timed)
Coffee-Bean:
public class Coffees {
JAX-RS REST Resource:
pom.xml
Expected Outcome
Execution times of the annotates classes/methods should be measured and should not be "0"
Current Outcome
Measured times, min,max, percentiles are always "0"
Steps to reproduce (Only for bug reports)
See above
Environment
The text was updated successfully, but these errors were encountered: