Chore: Remove 'PerformanceBackend: flushing' log (#67915)
Remove 'PerformanceBackend: flushing' log
This commit is contained in:
@@ -32,11 +32,6 @@ export class PerformanceBackend implements EchoBackend<PerformanceEvent, Perform
|
||||
return;
|
||||
}
|
||||
|
||||
// Currently we don't have an API for sending the metrics hence logging to console in dev environment
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
console.log('PerformanceBackend flushing:', this.buffer);
|
||||
}
|
||||
|
||||
backendSrv.post('/api/frontend-metrics', {
|
||||
events: this.buffer,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user