From 78b1c05b3609c14fe6ad3d3a6e006716d581aa5d Mon Sep 17 00:00:00 2001 From: Arif Hasanic Date: Sun, 12 Jul 2026 11:32:20 +0200 Subject: [PATCH] add console transport --- src/App.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 94c4805..5d764ee 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,6 +2,8 @@ import "@/App.css"; import { ConsoleInstrumentation, + ConsoleTransport, + FetchTransport, getWebInstrumentations, initializeFaro, ReactIntegration, @@ -14,7 +16,6 @@ function App() { if (window.location.hostname === "localhost" && isProduction) { initializeFaro({ - url: "http://alloy:12347/collect", app: { name: "monitor-im-flur", version: "0.0.1", @@ -26,6 +27,12 @@ function App() { new WebVitalsInstrumentation(), new ReactIntegration(), ], + transports: [ + new FetchTransport({ + url: "http://alloy:12347/collect", + }), + new ConsoleTransport(), + ], }); }