https://docs.mongodb.com/manual/reference/configuration-options/#operationprofiling-options
operationProfiling:
mode: <string>
slowOpThresholdMs: <int>
slowOpSampleRate: <double>
filter: <string>
https://docs.mongodb.com/manual/tutorial/manage-the-database-profiler/
db.setProfilingLevel(1, { slowms: 100, });
https://docs.mongodb.com/manual/reference/database-profiler/
db.system.profile.find()
.sort({ $natural: -1 })
.limit(10)
.pretty()
currentOp() 로 현재 수행중인 쿼리 상태를 확인할수도 있고, killOp()로 특정 쿼리를 죽일 수도 있음