Skip to main content

Monitoring

Monitoring Neo4j Step 1: Enable Metrics Collection Modify the Neo4j configuration file:

sudo nano /etc/neo4j/neo4j.conf

Enable JMX metrics:

server.metrics.enabled=true
server.metrics.csv.enabled=true

Restart the service:


sudo systemctl restart neo4j

Step 2: View Logs and Metrics Check logs for insights:

sudo journalctl -u neo4j --no-pager

Monitor database activity:

neo4j-admin report