callmedba / mongo_collection_exporter

Collection level metrics for MongoDB (EOL)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No longer supported

This project is no longer supported

Mongo Collection Exporter

Build Status

Exports all metrics from MongoDB collections (including indexes) to Prometheus for in-depth analysis and monitoring.

Requirements

  1. Docker 1.7+ or Java 8+

Start with docker

  1. Get a copy of settings.yml and adjust it to your topology
  2. Make sure that hostnames or IP addresses are accessible from docker container
  3. docker run -tdi --restart=always yopp/mongo_collection_exporter:latest -e MONGO_EXPORT_CONF=/path/to/config.yml

Start with java

  1. Get a copy of settings.yml and adjust it to your topology
  2. Download latest build
  3. Start exporter: MONGO_EXPORT_CONF=/path/to/config.yml java -jar mongo_collection_exporter.war
  4. It will start exporter on port 8080.
  5. Add new prometheus target.
  6. Import sample Grafana Dashboards from vendor/grafana

About

Collection level metrics for MongoDB (EOL)


Languages

Language:Ruby 99.8%Language:Dockerfile 0.2%