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


20.04 18.04 16.04

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" }, ] }