Size of collections not visible in mongodb replet summary .
Hello, to ensure that happens please make sure the pmm user is set up with the permissions listed here:
also the pmm-agent needs to be configured with the --enable-all-collectors option
I have done these things
in that case it should be working. I suggest you double check the user’s perms.
You can manually connect to the db using the pmm user and run db.stats() on your collections and see if you get an error (that is what pmm does). Also you can check mongodb_collstats_storageStats_storageSize
metrics are present in the Metrics Explorer page.
I ran this . Its showing no data .