getsentry / getsentry/sentry-javascript
Add `trackResources` option to `browserTracingIntegration`
Open
Browser
Feature
javascript
Spans
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 515
Description
Add an option that allows users to opt out of `resource.*` span creation.
Possible typings:
* `trackResources?: boolean` <— preferred
* `trackResources?: (ctx) => boolean`
* `trackResources?: {scripts?: boolean, styles?: boolean, images?: boolean, other?: boolean}`
Contributor guide
Assessment
This issue has not been assessed yet.