The discussion is about missing or incomplete Page Cache metrics in JConsole despite enabling JMX and configuring Neo4j to expose all metrics

Hi

I'm currently using Neo4j version 4.4.42 via Neo4j Desktop. I'm able to connect to Neo4j using JConsole, and under the MBeans section, I can see some Page Cache metrics.

However, I noticed that only a limited set of attributes are visible—specifically:

  • hit
  • hit ratio
  • page faults
  • usage ratio

According to the official Neo4j metrics reference:
:link: Metrics reference - Operations Manual

There are many more Page Cache-related attributes (e.g., bytesRead, bytesWritten, etc.) that I expected to see, but they are not present in JConsole.

To cross-check, I also tested this in Neo4j version 5.26.6, and observed the same issue—only a minimal set of Page Cache metrics are exposed via JMX.

Is this expected behavior in these versions, or is there an additional configuration required to expose the complete set of Page Cache metrics via JMX?

Any guidance would be greatly appreciated.

Thanks,
Ashok R