-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
36.0.1.Final
-
None
-
---
-
---
After upgrading from Wildfly 25.0.1.Final to 36.0.1.Final we noticed 1 CPU core being always active.
The attached flamegraph from an idle environment shows that all CPU time is spend in PrometheusExporter.export. More precise the gathering of the JPA metrics consumes all the CPU time.
We pull the metrics from the /metrics endpoint on port 9990 every minute.
The time to request the metrics is about 10 seconds after a server start and increases after some load to a max time of 5 Minutes (as far as I have seen).
We use the default values for the metrics as they come in the standalone.xml.