This project is no longer supported
Exports all metrics from MongoDB collections (including indexes) to Prometheus for in-depth analysis and monitoring.
- Docker 1.7+ or Java 8+
- Get a copy of
settings.yml
and adjust it to your topology - Make sure that hostnames or IP addresses are accessible from docker container
docker run -tdi --restart=always yopp/mongo_collection_exporter:latest -e MONGO_EXPORT_CONF=/path/to/config.yml
- Get a copy of
settings.yml
and adjust it to your topology - Download latest build
- Start exporter:
MONGO_EXPORT_CONF=/path/to/config.yml java -jar mongo_collection_exporter.war
- It will start exporter on port
8080
. - Add new prometheus target.
- Import sample Grafana Dashboards from
vendor/grafana