Not the answer you need?
Register and ask your own question!

PMM Query Analytics doesn't work with mongodb

rpedrerorpedrero ContributorCurrent User Role Participant
Hello,

I'm running percona mongodb server in a docker with the following config in
docker-compose.yml:
mongo:
image: percona/percona-server-mongodb
command: --dbpath=/data/db -profile=2 -slowms=200 -rateLimit=100
restart: always
ports:
- "27017:27017"

The info from the DDBB about the Profiling is:
db.getProfilingStatus()
{
"was" : 2,
"slowms" : 200,
"ratelimit" : 100,
"sampleRate" : 1.0
}

Also, I created the user with permissions:
[
{
"_id" : "admin.admin",
"userId" : UUID("be9ad6ca-d3f2-4901-a7ae-d63b1bfedbbc"),
"user" : "admin",
"db" : "admin",
"roles" : [
{
"role" : "root",
"db" : "admin"
}
],
"mechanisms" : [
"SCRAM-SHA-1",
"SCRAM-SHA-256"
]
},
{
"_id" : "admin.mongodb_exporter",
"userId" : UUID("64fb0978-1a56-4b6d-a4df-57ec66e0a422"),
"user" : "mongodb_exporter",
"db" : "admin",
"roles" : [
{
"role" : "clusterMonitor",
"db" : "admin"
},
{
"role" : "read",
"db" : "MyDb1"
},
{
"role" : "read",
"db" : "Mydb2"
},
{
"role" : "read",
"db" : "local"
},
{
"role" : "read",
"db" : "admin"
}
],
"mechanisms" : [
"SCRAM-SHA-1",
"SCRAM-SHA-256"
]
}
]


But PMM is not working, that is the message:







Can anyone help me, please?

Many thanks!

Comments

  • rpedrerorpedrero Contributor Current User Role Participant
    Can anyone help me, please?

    Many thanks!
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.