{"repo":"percona/mongodb_exporter","free":true,"listed":false,"github":"https://github.com/percona/mongodb_exporter","clone":"git clone https://github.com/percona/mongodb_exporter.git","description":"A Prometheus exporter for MongoDB including sharding, replication and storage engines","language":"Go","stars":1357,"topics":["mongodb","prometheus","prometheus-exporter","pmm","metrics","golang","go","hacktoberfest"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"MongoDB exporter This is the new MongoDB exporter implementation that handles ALL metrics exposed by MongoDB monitoring commands. This new implementation loops over all the fields exposed in diagnostic commands and tries to get data from them. Currently, these metric sources are implemented: - $collStats - $indexStats - getDiagnosticData - replSetGetStatus - replSetGetConfig - serverStatus Supported MongoDB versions The exporter works with Percona Server for MongoDB and MongoDB Community or Enterprise Edition versions 6.0 and newer. Older versions might also work but are not tested anymore. Info on Percona MongoDB exporter versions The old 0.1x.y version (ex master branch) has been moved to the release-0.1x branch. A flag, --compatible-mode , which exposes metrics with 0.1x compatible metric names has been implemented which simplifies migration from the old version to the current version. Build the exporter The build process uses the dockerized version of goreleaser so you don't need to install Go. Just run make release and the new binaries will be generated under the build directory. Running the exporter If you built the exporter using the method mentioned in the previous section, the generated binaries are in mongodb exporter linux amd64/mongodb exporter or mongodb exporter darwin amd64/mongodb exporter Docker A docker image is available on the official percona repository. Examples Permissions Connecting user should have sufficient rights to query needed stats: When using t","default_branch":null,"files":null,"tree":[],"storefront":"/r/percona","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/percona/mongodb_exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}