We are experimenting with a 3 shard mongodb cluster, managed via psmdb-db operator.
We are also running pmm for monitoring, but we have a problem in which there is no data shown about sharded collections. For example “Cluster Summary” and “MongoDB Collection Details” don’t show any data at all.
I have tried adding “–enable-all-collectors”, but that does not work because of this other issue.
So, right now I am using the “–stats-collections” param to enable collectors for a specific collection. But this is also not taking any effect.
Everything is running on AKS v1.24.9.
Mongo version is 6.0.5-4.
PMM server is 2.36
PMM client is 2.36
I wasn’t adding the --cluster parameter as it seems that the operator already does that for us.
However, reading your comment I have still added that parameter to the mongodParams section. It now looks like this: