getProfilingStatus()
This method returns the current profile level and slowOpThresholdMs setting.
Syntax:
db.getProfilingStatus()
Example
MongoDB
Output:
{ "was" : 0, "slowms" : 100, "sampleRate" : 1 }
No comments:
Post a Comment