mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
825d0701e8
commit
9639fbf232
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue