Repository navigation
feat(spans): Group all browser resources together - #2676
Conversation
| "chrome-extension://begnopegbbhjeeiganiajffnalhlkkjb/img/assets/icon-10k.svg", | ||
| "resource.other", | ||
| "chrome-extension://*/img/assets/icon-*k.svg" | ||
| "browser-extension://*" |
There was a problem hiding this comment.
@DominikB2014 my idea here was to group all browser extension resources together so they can be easily filtered out on the querying side. Is this an acceptable solution, or do we need to actually remove those spans from our data?
There was a problem hiding this comment.
Good question, let me add a test for that.
There was a problem hiding this comment.
With the current change, the domain will be "*".
There was a problem hiding this comment.
So to filter out extensions, we would add span.domain != '*'?
There was a problem hiding this comment.
I guess the safer way would be to filter on the group or description != 'browser-extension://*, because other resources could theoretically also have domain == '*'.
There was a problem hiding this comment.
Yeah that makes sense, this should work for the product then, if there's any issues (I don't suspect any), we can revist.
Thanks for making the update @jjbayer!

We want to filter out resource spans from browser extensions, so scrub their description to
browser-extension://*such that they all end up in the same group.ref: getsentry/sentry#58723
#skip-changelog