Merge pull request #2737 from overleaf/bg-split-editor-events-metric

split metric for editor events by message type

GitOrigin-RevId: 832b0abf8582138c05b786dcf9114dcdb3a63b91
This commit is contained in:
Brian Gough 2020-04-14 10:51:55 +01:00 committed by Copybot
parent 825d0701e8
commit 9639fbf232

View file

@ -39,7 +39,9 @@ module.exports = EditorRealTimeController = {
payload,
_id: message_id
})
Metrics.summary('redis.publish.editor-events', blob.length)
Metrics.summary('redis.publish.editor-events', blob.length, {
status: message
})
return rclient.publish(channel, blob)
},