Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚗️ [RUM-1020] Collect core web vitals target selectors #2418
⚗️ [RUM-1020] Collect core web vitals target selectors #2418
Changes from 13 commits
02a5942
4609904
b4b2847
560255d
eec8702
b1b61fe
1bbc827
24a00dc
3ba6907
7c3e131
bdf6279
df732ef
4fabfc3
2359080
115c409
bb0e1ee
fbe0200
0ee235c
df23557
09b1905
d54c7ef
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💭 thought: I wonder if we really need to keep filtering entries like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting 🤔. Do you remember why it was done in the first place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FMU, I did this in 15da132 , where I changed
entries.getEntriesByType('xxx')
toentries.filter(entry => entry.entryType === 'xxx')
and then we iterated over this, but I don't see any good reason to do it anymore.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FMU, we still have this case to filter
browser-sdk/packages/rum-core/src/browser/performanceCollection.ts
Lines 154 to 155 in fbe0200
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right that's why :D Ok nevermind then. We can always change things if/when we work on my suggestion here: #2355 (comment)