Closed
Description
A user has pointed out that it is unfortunate that XHR breadcrumbs can include requests by 3rd-party scripts.
So, I'm thinking that the ignoreUrls
and whitelistUrls
config options can impact breadcrumb collection. Our docs encourage you to specify base URLs (e.g. domains), so I feel like this is appropriate ... but at the same time, I'm worried that overloading the meaning of these could also become painful. For example, you want to collect errors from your domain, but don't want to collect AJAX breadcrumbs to a reporting endpoint on your domain – if we go this way, there will be no distinguishing.
Other ideas:
- dedicated config option for breadcrumb URLs (could affect both XHRs and nav events)
- a callback function for breadcrumbs (like shouldSendCallback) that allows you to mutate outbound data or cancel recording of an individual event
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels