We had a problem where heavy CPU usage on our MongoDB servers turned out to be related collections created with the validator option. Inserts to those collections caused a lot CPU use. Turning off the validator option on those collections reduced CPU consumption considerably.
But I don’t see a way to monitor validation activities in the output of serverStatus. Is there anyway to monitor the rate of regular inserts versus inserts with validation?
Thanks in advance