mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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