MicroProfile Metrics API returns no data for vendor:system_cpu_load PAYARA-4147 #4230
Labels
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
Type: Bug
Label issue as a bug defect
Description
Since Payara Micro 5.193 the /metrics endpoint does not return data for the field vendor:system_cpu_load anymore. The value is always zero.
Expected Outcome
Calling GET {baseUrl}/metrics/vendor returns the field vendor:system_cpu_load with a value > 0.
Current Outcome
Calling GET {baseUrl}/metrics/vendor the field vendor:system_cpu_load is always zero.
Also the naming of the field changed.
Before 5.193 it is vendor:system_cpu_load
Since 5.193 it is vendor_system_cpu_load
(not that the : was replaced by _)
Steps to reproduce (Only for bug reports)
Execute java -jar payara-micro-5.193.jar --deploy anyApplication.war
Visit http://localhost:8080/metrics/vendor
Samples
Payara Micro 5.191
vendor:system_cpu_load 0.15454493453568963
Payara Micro 5.192
vendor:system_cpu_load 0.5629938578656155
Payara Micro 5.193
vendor_system_cpu_load 0
Environment
The text was updated successfully, but these errors were encountered: