db.getProfilingStatus()

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