Mongo::Commands::Profile
For a mongod instance, the command enables, disables, or configures the Database Profiler. For mongos instance, the command sets the slowms and sampleRate configuration settings, which configure how operations get written to the diagnostic log.
NOTE: for more details, please check the official MongoDB documentation.
Class methods
name
Source