Skip to content
Snippets Groups Projects
Unverified Commit d2259cf3 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12675 from jfsiebel/restore-mongo-metrics

Restore mongo metrics feature
parents 31c60a70 f23cdf4d
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,8 @@ class Metrics { ...@@ -41,6 +41,8 @@ class Metrics {
const currentProcessingTimestamp = Date.now(); const currentProcessingTimestamp = Date.now();
const processTime = currentProcessingTimestamp - processingStartTimestamp; const processTime = currentProcessingTimestamp - processingStartTimestamp;
this.addEvent(meetingId, eventName, size);
if (!this.metrics[meetingId].wasInQueue.hasOwnProperty(eventName)) { if (!this.metrics[meetingId].wasInQueue.hasOwnProperty(eventName)) {
this.metrics[meetingId].wasInQueue[eventName] = { this.metrics[meetingId].wasInQueue[eventName] = {
count: 1, 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