Open haodongz opened 1 year ago
Hello, have you tested with an older mongodb_exporter? 4.2 is EOL and wasn't tested with the latest mongodb_exporter. Which flags were used to run container? Have you enabled compatible mode?
Hello, have you tested with an older mongodb_exporter? 4.2 is EOL and wasn't tested with the latest mongodb_exporter. Which flags were used to run container? Have you enabled compatible mode? This is how I run it docker run -d -p 9216:9216 --name mongodb_exporter percona/mongodb_exporter:0.39.0 --mongodb.collstats-colls=routing.* --mongodb.uri="mongodb://xxx:lxxx@172.31.82.24:27017" --compatible-mode
I only have these missing metrics right now!
could you also add flag --collect-all
?
could you also add flag
--collect-all
? After adding --collect-all, the plug-in's logs report an error
command:
- "--compatible-mode"
- "--collect-all"
these together fixed it for me,
then I have a huge list but it works
command: - "--compatible-mode" - "--collect-all" these together fixed it for me, then I have a huge list but it works
Yes, I added the parameters --compatible-mode, --collect-all, but still got an error
double check the permissions of the user that the exporter is using to connect to mongo?
double check the permissions of the user that the exporter is using to connect to mongo?
As far as I know, the way containers run has nothing to do with permissions.
I was referring to the missing metrics. This is usually due to bad perms for the exporter. Also did you test if 0.40 fixes your issue? I am reopening this one