Prometheus Mongodb Exporter Charmers Prometheus Mongodb Exporter

  • By prometheus-mongodb-exporter-charmers
  • Monitoring
Channel Version Revision Published Runs on
latest/stable 2 2 19 Mar 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
juju deploy prometheus-mongodb-exporter-charmers-prometheus-mongodb-exporter
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.


18.04 20.04 16.04


Allows prometheus to scrape MongoDB metrics Read more

Relevant links

Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion

This charm has been created to make metrics from Juju controller databases available for collection by prometheus. It should work for any MongoDB database, but it has no mongodb relation.

It is using the prometheus-mongodb-exporter snap.

Metrics will be available at http://<unit_ip>:19091/metrics once exposed.

You can add a user dedicated to monitoring to MongoDB by running the following in a MongoDB shell :

db.createUser( { user: "prometheus-exporter",                                      
                 pwd: "my-awesome-password",                           
                 roles: [ { role: "clusterMonitor", db: "admin" },                 
                          { role: "read", db: "local" }, ] }