mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 16:45:43 -06:00
avoid duplicate log in development environment (#36609)
avoid logging performance metrics in production environment
This commit is contained in:
parent
0bf9b6a931
commit
c0d6fc0255
@ -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,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user