add transport to get-connected-users metric

This commit is contained in:
Brian Gough 2021-05-13 14:51:26 +01:00
parent 9622b341b7
commit 3044bc4cf5

View file

@ -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, [])