avoid duplicate log in development environment (#36609)

avoid logging performance metrics in production environment
pull/38017/head
Ole Ernst 4 years ago committed by GitHub
parent 0bf9b6a931
commit c0d6fc0255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/core/services/echo/backends/PerformanceBackend.ts

@ -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…
Cancel
Save