commercetools / mongodbatlas_exporter

MongoDB Atlas exporter for Prometheus
MIT License
13 stars 8 forks source link
mongodb mongodb-atlas mongodbatlas prometheus prometheus-exporter prometheus-metrics

Mongodbatlas exporter for Prometheus

Archived: NO LONGER MAINTAINED

Atlas released a prometheus integration that provides much more reliable metrics without having to circumvent API rate limits.

See Introducing MongoDB’s Prometheus Monitoring Integration.

Limitations

Configuration

mongodbatlas_exporter doesn't require any configuration file and the available flags can be found as below:

usage: mongodbatlas_exporter [<flags>]

Flags:
  --help                    Show context-sensitive help (also try --help-long and --help-man).
  --listen-address=":9905"  The address to listen on for HTTP requests.
  --atlas.public-key=ATLAS.PUBLIC-KEY
                            Atlas API public key
  --atlas.private-key=ATLAS.PRIVATE-KEY
                            Atlas API private key
  --atlas.project-id=ATLAS.PROJECT-ID
                            Atlas project id (group id) to scrape metrics from
  --atlas.cluster=ATLAS.CLUSTER ...
                            Atlas cluster name to scrape metrics from. Can be defined multiple times. If not defined all clusters in the project will be scraped
  --log-level=debug         Printed logs level.
  --version                 Show application version.