Replies: 2 comments 2 replies
-
Hey @brahima 👋
Thanks a lot that's great to hear :)
Not yet and also not on the roadmap at the moment.
With Faro it;s not possible because it need the window object. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hey @codecapitano and @brahima We are running into an issues implementing faro on a client. Can you help us here ? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've just started playing around with Faro SDK and it's working great so Far(o) :-)
The main problem is have is that i'm using SvelteKit and some events and logs need to be pushed server side (to have the complete story of what's really going on).
I saw that this is something implemented for React via faro-react.
Obviously when someone tries to initialize Faro on Server Side, it crashes telling that 'window' is undefined. This behavior is expected because it's only working browser side right now.
Is there something planned for Svelte or someone can give some advices of what can i do to push events and logs from SSR code (+server.[ts|js], +page.server.[ts|js] ...)
At the end of the day, these are just fetch calls (with default transport) :-)
I however understand that server side (often the code is run via serverless funnction), these http calls need to be done before the end of the processing and have to be treated as not 'vital' so even if they fail, the 'business' process should be considered ok.
Side note : My adblocker was blocking all my faro request when i started to use it. I think that's because i'm using Grafana Cloud and the url to push via Faro is https://faro-collector-prod-eu-west-0.grafana.net/collect/{app_key}.
Does not seem a good idea to have the collector word in the url.
This does not seem related directly to the Faro web sdk but if someone can tell me who i can pass this info up to ?
Any help would be greatly appreciated,
Thanks
Beta Was this translation helpful? Give feedback.
All reactions