diff --git a/src/App.tsx b/src/App.tsx index 1a8a02d..cd1dac3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,6 +4,9 @@ import { getWebInstrumentations, initializeFaro, ReactIntegration, + ConsoleInstrumentation, + WebVitalsInstrumentation, + LogLevel, } from "@grafana/faro-react"; import Dashboard from "@/components/Dashboard/Dashboard"; @@ -21,7 +24,11 @@ function App() { environment: "production", }, instrumentations: [ - ...getWebInstrumentations(), + ...getWebInstrumentations({ + captureConsole: true, + }), + new ConsoleInstrumentation(), + new WebVitalsInstrumentation(), new ReactIntegration(), ], });