mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Add collection into graphite key
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports =
|
||||
# Ignore noisy command methods like authenticating, ismaster and ping
|
||||
return _method.call this, db_command, options, callback
|
||||
|
||||
key = "mongo-requests.#{type}"
|
||||
key = "mongo-requests.#{collection}.#{type}"
|
||||
if db_command.query?
|
||||
query = Object.keys(db_command.query).sort().join("_")
|
||||
key += "." + query
|
||||
|
||||
Reference in New Issue
Block a user