Buy Percona ServicesBuy Now!

PMM Query Analytics doesn't work with mongodb

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PMM Query Analytics doesn't work with mongodb

    Hello,

    I'm running percona mongodb server in a docker with the following config in
    docker-compose.yml:
    Code:
    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:
    Code:
    db.getProfilingStatus()
    {
    "was" : 2,
    "slowms" : 200,
    "ratelimit" : 100,
    "sampleRate" : 1.0
    }
    Also, I created the user with permissions:
    Code:
    [
    {
    "_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:
    Click image for larger version Name:	yjUuerC.png Views:	1 Size:	28.1 KB ID:	54209






    Can anyone help me, please?

    Many thanks!

  • #2
    Can anyone help me, please?

    Many thanks!

    Comment

    Working...
    X