avoid duplicate log in development environment (#36609)
avoid logging performance metrics in production environment
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user