avoid duplicate log in development environment (#36609)

avoid logging performance metrics in production environment
This commit is contained in:
Ole Ernst
2021-08-18 19:45:54 +02:00
committed by GitHub
parent 0bf9b6a931
commit c0d6fc0255

View File

@@ -36,8 +36,6 @@ export class PerformanceBackend implements EchoBackend<PerformanceEvent, Perform
console.log('PerformanceBackend flushing:', this.buffer);
}
console.log('performance', this.buffer);
backendSrv.post('/api/frontend-metrics', {
events: this.buffer,
});