grafana / faro-web-sdk

The Grafana Faro Web SDK, part of the Grafana Faro project, is a highly configurable web SDK for real user monitoring (RUM) that instruments browser frontend applications to capture observability signals. Frontend telemetry can then be correlated with backend and infrastructure data for full-stack observability.
https://grafana.com/oss/faro/
Apache License 2.0
734 stars 63 forks source link

faro-web-sdk API calls are going in loop #663

Open snehalk-mdsol opened 1 month ago

snehalk-mdsol commented 1 month ago

Facing a faro issue from quite a long now. Please find below screenshots -

Screenshot 2024-08-13 at 1 57 48 PM Screenshot 2024-08-13 at 1 57 38 PM Screenshot 2024-08-13 at 1 57 18 PM Screenshot 2024-08-13 at 1 56 12 PM

I tried updating faro libraries to the latest version 1.9.0 and added collector URLs in ignoreURLs while initializing a faro instance. You can check the PR here - https://github.com/mdsol/platform-portal/pull/619/files

Can someone please help. @codecapitano

eskirk commented 1 month ago

hi @snehalk-mdsol - @codecapitano is on PTO right now, but can you provide some more details regarding the issue you are facing? I am not fully understanding what the problem is.

codecapitano commented 1 month ago

Hi @snehalk-mdsol I can't access the PR you linked.

codecapitano commented 1 month ago

I have a suspicion. The otlp-http-transport didn't consume the request body so didn't close the connection. This can cause pending requests, memory leaks and other sorts of problems.

We'll release it soon.

Unfortunately I couldn't reproduce the issue so once released please let us know if the update fixed the problem.