Mongodb version: 4.0.9 and 4.0.17
PMM versions tested: 2.10.1. and 2.11.1
We noticed the syslog was filling up the root volumes on our mongodb mongos instances. When we tail f /var/log/mongodb/mongos.log there are no errors however the mongodb_exporter seems to be causing pmm-agent to fill up the syslog with an ongoing error at 2 entries per second. Seems to our team that pmm is identifying the instance as a mongod instead of a mongos. Please see screenshots.
How to test:
Connect the exporter to a mongos instance and there shouldn't be any error in the logs.
Previously we had errors like these: