A Prometheus exporter for Neo4j including long-running queries and database statuses.
Start the container, specify the address of the Neo4j cluster in the NEO4J_SERVICE environment variable:
docker run --rm -itd --name neo4j_exporter -p 9099:5000 -e NEO4J_SERVICE=localhost ghcr.io/petrov-e/neo4j_exporter:v1.0.0-5-g1e176d2
The page with metrics in Prometheus format will be available here:
curl localhost:9099/metrics
View logs:
docker logs -f neo4j_exporter
To import the Grafana dashboard:
- Copy dashboard JSON text from: neo4j-long-running-queries.json
- On the create tab, select Import.
- Paste dashboard JSON text directly into the text area and click Load.
- Select the Data Source as Prometheus and click Import.