- Install PMM2 (201909051008)
- install pmm2-client
- Add MongoDb to PMM2
- Check pmm-agent process
CPU usage of pmm-agent is more 50%
I re-checked on servers with Replicaset Mongodb and single MongoDB, but the problem with CPU appears for all
- Remove code that is clearly not used.
- Add logging, especially around connection/disconnection.
- Add pprof labels: https://rakyll.org/profiler-labels/
- Try to find and fix this bug.