more data for faro

This commit is contained in:
2026-07-11 18:33:04 +02:00
parent 2b9937be1a
commit ee77475194
+8 -1
View File
@@ -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(),
], ],
}); });