This section describes breaking changes for Neo4j metrics.

In 4.x, there are two types of metrics: global metrics and database-local metrics. The metric naming is different in 4.x compared to 3.x. For details about available metrics and the new naming patterns, please refer to Operations Manual → Metrics.

Please note that in 4.2 the metrics that are enabled by default have been changed.

Any specific metrics that you want to be enabled must be specified in the metrics.filter.

Additionally in the 4.2 release, metrics are no longer exposed via JMX by default. These can be enabled by adding metrics.jmx.enabled=true to neo4j.conf.