# \#mongodb-exporter

**URL:** https://forums.percona.com/tag/mongodb-exporter/35.md

[Latest](https://forums.percona.com/latest.md) · [Categories](https://forums.percona.com/categories.md) · [Tags](https://forums.percona.com/tags.md)

---

## [Missing binaries for MongoDB exporter 0.48.0 and 0.49.0](https://forums.percona.com/t/missing-binaries-for-mongodb-exporter-0-48-0-and-0-49-0/40283)

<div class="topic-metadata">

**Author:** [@Gertvdb](https://forums.percona.com/u/Gertvdb)\
**Replies:** 2\
**Last updated:** [February 25, 2026, 1:55pm UTC](https://forums.percona.com/t/missing-binaries-for-mongodb-exporter-0-48-0-and-0-49-0/40283 "2026-02-25T13:55:22Z")

</div>

Someone logged an issue on Github as well, not sure if it needs to be on Jira, that repo doesn’t have issues disabled. It is breaking my default Ansible role which checks the Github API for the latest release and tries …

---

## [Seeking best practices and real world experiences around managing, tuning, and operating PostgreSQL and MongoDB databases in production environments at scale](https://forums.percona.com/t/seeking-best-practices-and-real-world-experiences-around-managing-tuning-and-operating-postgresql-and-mongodb-databases-in-production-environments-at-scale/40180)

<div class="topic-metadata">

**Author:** [@Sachin\_R](https://forums.percona.com/u/Sachin_R)\
**Replies:** 1\
**Last updated:** [February 17, 2026, 3:00pm UTC](https://forums.percona.com/t/seeking-best-practices-and-real-world-experiences-around-managing-tuning-and-operating-postgresql-and-mongodb-databases-in-production-environments-at-scale/40180 "2026-02-17T15:00:25Z")

</div>

Hi everyone, I’m looking to start a discussion around real world database administration challenges for PostgreSQL and MongoDB in production environments. Specifically, I’m interested in hearing from DBAs and platform …

---

## [PMM prevents MongoDB from accepting connections randomly](https://forums.percona.com/t/pmm-prevents-mongodb-from-accepting-connections-randomly/39530)

<div class="topic-metadata">

**Author:** [@harish.jaipu](https://forums.percona.com/u/harish.jaipu)\
**Replies:** 5\
**Last updated:** [October 10, 2025, 7:15pm UTC](https://forums.percona.com/t/pmm-prevents-mongodb-from-accepting-connections-randomly/39530 "2025-10-10T19:15:09Z")

</div>

Sharing PMM agent errors reported. ● pmm-agent.service - pmm-agent Loaded: loaded (/usr/lib/systemd/system/pmm-agent.service; enabled; preset: disabled) Active: active (running) since Sun 2025-09-28 11:03:31 +…

---

## [Email alerts configuration for Mongodb](https://forums.percona.com/t/email-alerts-configuration-for-mongodb/36217)

<div class="topic-metadata">

**Author:** [@Dhivya](https://forums.percona.com/u/Dhivya)\
**Replies:** 1\
**Last updated:** [September 25, 2025, 12:44pm UTC](https://forums.percona.com/t/email-alerts-configuration-for-mongodb/36217 "2025-09-25T12:44:51Z")

</div>

Hi All, Am trying to configure emails alerts for critical parameters like service down ,replication lag and connections for now. For Service down I used the default alert rule templates it worked. But for replication l…

---

## [Exporting PMM Data for Existing Monitoring System](https://forums.percona.com/t/exporting-pmm-data-for-existing-monitoring-system/37269)

<div class="topic-metadata">

**Author:** [@psamagal](https://forums.percona.com/u/psamagal)\
**Replies:** 2\
**Last updated:** [March 19, 2025, 2:25pm UTC](https://forums.percona.com/t/exporting-pmm-data-for-existing-monitoring-system/37269 "2025-03-19T14:25:06Z")

</div>

Hi, I noticed that PMM offers a very interesting module for analysing MongoDB query performance. However, from what I understand, it comes with a full monitoring system. The pmm server, which includes Prometheus, Grafan…

---

## [MongoDB Exporter missing metrics, Engine is unavailable](https://forums.percona.com/t/mongodb-exporter-missing-metrics-engine-is-unavailable/31448)

<div class="topic-metadata">

**Author:** [@chris1992](https://forums.percona.com/u/chris1992)\
**Replies:** 2\
**Last updated:** [September 25, 2024, 8:12am UTC](https://forums.percona.com/t/mongodb-exporter-missing-metrics-engine-is-unavailable/31448 "2024-09-25T08:12:02Z")

</div>

Hi. We are using mongodb-exporter and we’re having issues getting some metrics. Both exporter and MongoDB cluster (sharded, 19 replicasets) are deployed on a Kubernetes cluster. Exporter is only logging such errors: “ca…

---

## [Cannot auto discover databases and collections: cannot list the collections & Checking authorization failed](https://forums.percona.com/t/cannot-auto-discover-databases-and-collections-cannot-list-the-collections-checking-authorization-failed/24172)

<div class="topic-metadata">

**Author:** [@Kay\_Khan](https://forums.percona.com/u/Kay_Khan)\
**Replies:** 5\
**Last updated:** [September 22, 2024, 11:14am UTC](https://forums.percona.com/t/cannot-auto-discover-databases-and-collections-cannot-list-the-collections-checking-authorization-failed/24172 "2024-09-22T11:14:45Z")

</div>

We appear to be getting a few permissions related errors, seen else where that this could be related to metrics server related. time=“2023-08-01T00:53:04Z” level=error msg=“cannot auto discover databases and collection…

---

## [How to configure MTLS for mysqld\_exporter?](https://forums.percona.com/t/how-to-configure-mtls-for-mysqld-exporter/31287)

<div class="topic-metadata">

**Author:** [@Hussain\_Patel](https://forums.percona.com/u/Hussain_Patel)\
**Replies:** 1\
**Last updated:** [September 17, 2024, 8:13am UTC](https://forums.percona.com/t/how-to-configure-mtls-for-mysqld-exporter/31287 "2024-09-17T08:13:58Z")

</div>

I am trying to configure mysqld exporter to connect to mysql DB using MTLS. Not able to get the correct format to use in mysqld\_exporter.yml file below. If anyone has any idea on how to please share. –web.auth-file=my…

---

## [MongoDB Exporter for TLS/SSL not working via systemctl services](https://forums.percona.com/t/mongodb-exporter-for-tls-ssl-not-working-via-systemctl-services/29905)

<div class="topic-metadata">

**Author:** [@opensourcedba](https://forums.percona.com/u/opensourcedba)\
**Replies:** 3\
**Last updated:** [May 17, 2024, 4:49am UTC](https://forums.percona.com/t/mongodb-exporter-for-tls-ssl-not-working-via-systemctl-services/29905 "2024-05-17T04:49:07Z")

</div>

Hi Everyone, we are encountering with the MongoDB Exporter configuration when using TLS authentication. While we have successfully enabled TLS on our MongoDB instance and can access MongoDB using certificates and userna…

---

## [Error: descriptors reported by collector have inconsistent label names or help strings for the same fully-qualified name](https://forums.percona.com/t/error-descriptors-reported-by-collector-have-inconsistent-label-names-or-help-strings-for-the-same-fully-qualified-name/27820)

<div class="topic-metadata">

**Author:** [@rms1000watt](https://forums.percona.com/u/rms1000watt)\
**Replies:** 2\
**Last updated:** [January 23, 2024, 9:10pm UTC](https://forums.percona.com/t/error-descriptors-reported-by-collector-have-inconsistent-label-names-or-help-strings-for-the-same-fully-qualified-name/27820 "2024-01-23T21:10:43Z")

</div>

Hello, I’m getting this error from the mongodb\_exporter and I don’t believe I did anything special during the installation/configuration process. descriptors reported by collector have inconsistent label names or help s…

---

## [Mongodb exporter missing metrics](https://forums.percona.com/t/mongodb-exporter-missing-metrics/26307)

<div class="topic-metadata">

**Author:** [@Minh\_Ngo](https://forums.percona.com/u/Minh_Ngo)\
**Replies:** 1\
**Last updated:** [November 15, 2023, 5:55pm UTC](https://forums.percona.com/t/mongodb-exporter-missing-metrics/26307 "2023-11-15T17:55:30Z")

</div>

HI ! i create a MongoDB exporter like this link How To Monitor MongoDB with Grafana and Prometheus on Ubuntu 20.04 | DigitalOcean . But when I get metrics by curl http://localhost:9216/metrics |grep mongo. the returrn …

---

## [Mongo exporter not working when used in docker containers](https://forums.percona.com/t/mongo-exporter-not-working-when-used-in-docker-containers/26044)

<div class="topic-metadata">

**Author:** [@Avinash\_sanapala](https://forums.percona.com/u/Avinash_sanapala)\
**Replies:** 0\
**Last updated:** [October 19, 2023, 1:23pm UTC](https://forums.percona.com/t/mongo-exporter-not-working-when-used-in-docker-containers/26044 "2023-10-19T13:23:25Z")

</div>

I’m created 3 mongodb containers with a replica set and initiated it and one percona mongo exporter but It is failing with the error Error msg=“Cannot connect to MongoDB: invalid MongoDB options: a direct connection can…

---

## [How can I get collstats for all namespaces using mongodb exporter?](https://forums.percona.com/t/how-can-i-get-collstats-for-all-namespaces-using-mongodb-exporter/25967)

<div class="topic-metadata">

**Author:** [@illa0421c](https://forums.percona.com/u/illa0421c)\
**Replies:** 2\
**Last updated:** [October 18, 2023, 11:17am UTC](https://forums.percona.com/t/how-can-i-get-collstats-for-all-namespaces-using-mongodb-exporter/25967 "2023-10-18T11:17:53Z")

</div>

Hello, I’m trying to collect collstats using mongodb exporter. However, the --mongodb.collstats-colls option only seems to work when I provide the exact namespace, and it doesn’t work when I only provide the database na…

---

## [Mongodb\_exporter is exporting to prometheus, but no grafana dashboards available on grafana website](https://forums.percona.com/t/mongodb-exporter-is-exporting-to-prometheus-but-no-grafana-dashboards-available-on-grafana-website/25656)

<div class="topic-metadata">

**Author:** [@bmurrellbc](https://forums.percona.com/u/bmurrellbc)\
**Replies:** 5\
**Last updated:** [October 6, 2023, 8:50am UTC](https://forums.percona.com/t/mongodb-exporter-is-exporting-to-prometheus-but-no-grafana-dashboards-available-on-grafana-website/25656 "2023-10-06T08:50:40Z")

</div>

So we’ve set up v0.39.0 mongo\_exporter on a MongoDB installation (not Percona’s build). It’s exporting to prometheus, but there are no pages that work on the grafana dashboard portal that work. I see there are some in …

---

## [Not getting accurate read latency stats for MongoDB](https://forums.percona.com/t/not-getting-accurate-read-latency-stats-for-mongodb/25033)

<div class="topic-metadata">

**Author:** [@Sanjay\_Mange](https://forums.percona.com/u/Sanjay_Mange)\
**Replies:** 1\
**Last updated:** [October 4, 2023, 11:30am UTC](https://forums.percona.com/t/not-getting-accurate-read-latency-stats-for-mongodb/25033 "2023-10-04T11:30:34Z")

</div>

We are not receiving reliable latency statistics. MongoDB version : 4.2 OS version: Ubuntu 18.04 MongoDB exporter version: release-0.1x Running the MongoDB exporter on each node to collect the statistics. When exami…

---

## [Alerts for whether PMM client is running or not](https://forums.percona.com/t/alerts-for-whether-pmm-client-is-running-or-not/24526)

<div class="topic-metadata">

**Author:** [@Abhinav\_Gautam](https://forums.percona.com/u/Abhinav_Gautam)\
**Replies:** 1\
**Last updated:** [August 18, 2023, 5:05pm UTC](https://forums.percona.com/t/alerts-for-whether-pmm-client-is-running-or-not/24526 "2023-08-18T17:05:44Z")

</div>

Description: \[Detailed description of the issue or question\] I want to know how can I configure alert for checking if PMM client is running or not. Steps to Reproduce: \[Step-by-step instructions on how to reproduce the…

---

## [MongoDB\_Exporter for Prometheus with Kerberos](https://forums.percona.com/t/mongodb-exporter-for-prometheus-with-kerberos/23717)

<div class="topic-metadata">

**Author:** [@paul\_tgs](https://forums.percona.com/u/paul_tgs)\
**Replies:** 1\
**Last updated:** [July 25, 2023, 8:23am UTC](https://forums.percona.com/t/mongodb-exporter-for-prometheus-with-kerberos/23717 "2023-07-25T08:23:28Z")

</div>

Does MongoDB-Exporter support Kerberos or X.509 for connecting to on-prem Enterprise MongoDB? https://hub.docker.com/r/percona/mongodb\_exporter Was able to successfully configure Exporter for the stand-alone MongoDB sa…

---

## [MongoDB cluster not getting populated on PMM2 dashboard](https://forums.percona.com/t/mongodb-cluster-not-getting-populated-on-pmm2-dashboard/19000)

<div class="topic-metadata">

**Author:** [@hparikh](https://forums.percona.com/u/hparikh)\
**Replies:** 5\
**Last updated:** [January 24, 2023, 7:47pm UTC](https://forums.percona.com/t/mongodb-cluster-not-getting-populated-on-pmm2-dashboard/19000 "2023-01-24T19:47:38Z")

</div>

Hi all, We are facing a strange issue where we are not able to see one of the mongodb cluster on PMM2 dashboard. It’s a three node replicaset and I can see that all services/agents/nodes are successfully added on PMM In…

---

## [MongoDB percona Exporter for exporting Collection size in Database](https://forums.percona.com/t/mongodb-percona-exporter-for-exporting-collection-size-in-database/17962)

<div class="topic-metadata">

**Author:** [@Vikas\_Jella](https://forums.percona.com/u/Vikas_Jella)\
**Replies:** 1\
**Last updated:** [October 24, 2022, 3:06pm UTC](https://forums.percona.com/t/mongodb-percona-exporter-for-exporting-collection-size-in-database/17962 "2022-10-24T15:06:31Z")

</div>

Hi I’m using MongoDB Percona Exporter for scraping metrics from MongoDB. I’m not able to scrape collection size for collections in Database. using: extraArgs: –compatible-mode –collector.dbstats –collector.collstats-…

---

## [How to check collection size of MongoDB in mongodb Percona Proemtheus metrix](https://forums.percona.com/t/how-to-check-collection-size-of-mongodb-in-mongodb-percona-proemtheus-metrix/18053)

<div class="topic-metadata">

**Author:** [@Vikas\_Jella](https://forums.percona.com/u/Vikas_Jella)\
**Replies:** 1\
**Last updated:** [October 24, 2022, 2:43pm UTC](https://forums.percona.com/t/how-to-check-collection-size-of-mongodb-in-mongodb-percona-proemtheus-metrix/18053 "2022-10-24T14:43:17Z")

</div>

HI Team, Im using percona mongodb prometheus Exporter version 0.30.0. I want to check the collection size of MongoDB database. I’m using MongoDB Replicaset version 5.0.3. can anyone let me know how can I check the coll…

---

## [PSMDB connection issues with MongoDB](https://forums.percona.com/t/psmdb-connection-issues-with-mongodb/16839)

<div class="topic-metadata">

**Author:** [@marco](https://forums.percona.com/u/marco)\
**Replies:** 0\
**Last updated:** [August 1, 2022, 2:17pm UTC](https://forums.percona.com/t/psmdb-connection-issues-with-mongodb/16839 "2022-08-01T14:17:38Z")

</div>

There are frequent Alerts going off in our Dev Cluster regarding MongoDB RepplicationSet Members. Which don’t seem to be able to connect to the main pod running it. Some logs regarding this issue: psmdb connection probl…
