Closed N-Boutaib closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.09%. Comparing base (
fab7ead
) to head (14807bd
). Report is 7 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
📦 Bundle Name | Base Size | Local Size | 𝚫 | 𝚫% | Status |
---|---|---|---|---|---|
Rum | 160.40 KiB | 160.42 KiB | 18 B | +0.01% | ✅ |
Logs | 58.02 KiB | 58.04 KiB | 18 B | +0.03% | ✅ |
Rum Slim | 108.92 KiB | 108.94 KiB | 18 B | +0.02% | ✅ |
Worker | 25.21 KiB | 25.21 KiB | 0 B | 0.00% | ✅ |
🔨 warning: I think we have the same issue with logs, don't we?
❓ question: What about other instrumented methods? It might be less common for them to be used that way, but we could have the same issue if that happens, no?
For both subjects: I would wait for requests to do so before acting on it, as we don't want to over-instrument if we don't need to (in other words, it is better to not instrument if we never have user consent).
/to-staging
:steam_locomotive: Branch Integration: starting soon, median merge time is 10m
Commit d3f3bd6f78 will soon be integrated into staging-26.
Use /to-staging -c
to cancel this operation!
:warning: Branch Integration: This commit was already integrated
Commit d3f3bd6f78 had already been merged into staging-26
If you need support, contact us on Slack #devflow!
Motivation
When RUM's initialisation is delayed because of consent not being granted initially, some libraries (such as Apollo Client) do store some methods aside to be re-used (mainly
window.fetch
), which leads to the un-instrumented method being used for http requests, even after consent being granted.Changes
Instrument
fetch
method on sdk initialisation. The instrumentation process is idempotent.Testing
I have gone over the contributing documentation.