more data for faro
This commit is contained in:
+8
-1
@@ -4,6 +4,9 @@ import {
|
|||||||
getWebInstrumentations,
|
getWebInstrumentations,
|
||||||
initializeFaro,
|
initializeFaro,
|
||||||
ReactIntegration,
|
ReactIntegration,
|
||||||
|
ConsoleInstrumentation,
|
||||||
|
WebVitalsInstrumentation,
|
||||||
|
LogLevel,
|
||||||
} from "@grafana/faro-react";
|
} from "@grafana/faro-react";
|
||||||
import Dashboard from "@/components/Dashboard/Dashboard";
|
import Dashboard from "@/components/Dashboard/Dashboard";
|
||||||
|
|
||||||
@@ -21,7 +24,11 @@ function App() {
|
|||||||
environment: "production",
|
environment: "production",
|
||||||
},
|
},
|
||||||
instrumentations: [
|
instrumentations: [
|
||||||
...getWebInstrumentations(),
|
...getWebInstrumentations({
|
||||||
|
captureConsole: true,
|
||||||
|
}),
|
||||||
|
new ConsoleInstrumentation(),
|
||||||
|
new WebVitalsInstrumentation(),
|
||||||
new ReactIntegration(),
|
new ReactIntegration(),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user