getsentry / getsentry/sentry-javascript

Add `trackResources` option to `browserTracingIntegration`

Open
#16,194 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.