Skip to content
Snippets Groups Projects
Commit f23cdf4d authored by Joao Siebel's avatar Joao Siebel
Browse files

Restore mongo metrics feature

parent 31c60a70
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,8 @@ class Metrics {
const currentProcessingTimestamp = Date.now();
const processTime = currentProcessingTimestamp - processingStartTimestamp;
this.addEvent(meetingId, eventName, size);
if (!this.metrics[meetingId].wasInQueue.hasOwnProperty(eventName)) {
this.metrics[meetingId].wasInQueue[eventName] = {
count: 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment