mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add transport to get-connected-users metric
This commit is contained in:
parent
9622b341b7
commit
3044bc4cf5
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ module.exports = WebsocketController = {
|
|||
return callback()
|
||||
}
|
||||
|
||||
metrics.inc('editor.get-connected-users')
|
||||
metrics.inc('editor.get-connected-users', { status: client.transport })
|
||||
const { project_id, user_id, is_restricted_user } = client.ol_context
|
||||
if (is_restricted_user) {
|
||||
return callback(null, [])
|
||||
|
|
Loading…
Reference in a new issue