Navigation
This is an upcoming (i.e. in progress) version of the manual.

db.getProfilingStatus()

db.getProfilingStatus()
Returns:The current profile level, slowOpThresholdMs setting, and slowOpSampleRate setting.