faro-web-sdk
faro-web-sdk copied to clipboard
Send traces only on errors?
I'm investigating replacing Sentry with Faro. Sentry has a concept of "breadcrumbs" that are sent along with errors.
From what I understand, this is basically what the tracing instrumentation does, except that continuously send all events.
Is it possible to only have traces sent in the case of an error?
Hey @cg-roling
Thanks a lot for your question.
Yes you are right. For that kind of tracking you need to enable the Tracing Instrumentation. You can additionally add Session Instrumentation so that you can scope trace by session (session management) in case that capability is may be important.
At the moment it is not possible to filter traces by event type correlation before sent.
If you don't mind I would like to add a feature tag to the issue so we will investigate further.
Cheers, Marco