To test the current snap (steps for Ubuntu - see the above URL for other distros) :
sudo apt-get install snapd
sudo snap install prometheus-mongodb-exporter
sudo vim /var/snap/prometheus-mongodb-exporter/current/daemon_arguments # and edit ARGS with whatever parameters you want to pass to mongodb_exporter
sudo service snap.prometheus-mongodb-exporter.mongodb-exporter.service restart
If you have any questions about snaps, happy to answer them :)
Hi !
I have created a mongodb_exporter snap (https://snapcraft.io/prometheus-mongodb-exporter/), which works well, and I think it should be included and built upstream now (you can even get it built automatically from github - see https://build.snapcraft.io/).
You can find more information about snaps at : https://snapcraft.io/
To test the current snap (steps for Ubuntu - see the above URL for other distros) :
If you have any questions about snaps, happy to answer them :)
Cheers !