-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
refactor: Add origin as parameter to file IO tracker #4860
Conversation
🚨 Detected changes in high risk code 🚨High-risk code can easily blow up and is hard to test. We had severe bugs in the past. Be extra careful when changing these files, and have an extra careful look at these:
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
c0b4b71 | 1218.16 ms | 1251.28 ms | 33.12 ms |
626b91b | 1231.67 ms | 1247.13 ms | 15.46 ms |
bcb1c7d | 1208.24 ms | 1222.58 ms | 14.34 ms |
b11cd87 | 1234.51 ms | 1250.52 ms | 16.01 ms |
bb7da60 | 1231.80 ms | 1252.65 ms | 20.85 ms |
5e78d2b | 1229.90 ms | 1252.94 ms | 23.04 ms |
794f87f | 1225.78 ms | 1243.46 ms | 17.68 ms |
efb2222 | 1258.22 ms | 1276.78 ms | 18.56 ms |
80da9d1 | 1193.76 ms | 1211.83 ms | 18.08 ms |
69d2789 | 1224.14 ms | 1247.17 ms | 23.02 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
c0b4b71 | 20.76 KiB | 430.98 KiB | 410.22 KiB |
626b91b | 21.58 KiB | 546.20 KiB | 524.61 KiB |
bcb1c7d | 22.85 KiB | 413.42 KiB | 390.57 KiB |
b11cd87 | 21.58 KiB | 631.86 KiB | 610.28 KiB |
bb7da60 | 21.58 KiB | 697.84 KiB | 676.25 KiB |
5e78d2b | 22.85 KiB | 411.17 KiB | 388.32 KiB |
794f87f | 20.76 KiB | 401.37 KiB | 380.61 KiB |
efb2222 | 20.76 KiB | 424.45 KiB | 403.69 KiB |
80da9d1 | 21.58 KiB | 418.45 KiB | 396.86 KiB |
69d2789 | 21.58 KiB | 548.09 KiB | 526.50 KiB |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4860 +/- ##
=============================================
+ Coverage 92.164% 92.279% +0.115%
=============================================
Files 658 659 +1
Lines 77222 77327 +105
Branches 27170 27986 +816
=============================================
+ Hits 71171 71357 +186
+ Misses 5957 5874 -83
- Partials 94 96 +2
... and 35 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
🚨 Detected changes in high risk code 🚨High-risk code can easily blow up and is hard to test. We had severe bugs in the past. Be extra careful when changing these files, and have an extra careful look at these:
|
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.
The changes look fine, should we add a test to validate the origin is properly included in whatever event/envelope is generated for File I/O tracking?
Not sure if I understand the questions:
Do you mean we add tests to verify the origins as expected by the backend, like mentioned in the develop docs? |
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.
LGTM, with a minor suggestion.
🚨 Detected changes in high risk code 🚨High-risk code can easily blow up and is hard to test. We had severe bugs in the past. Be extra careful when changing these files, and have an extra careful look at these:
|
This PR is derived from #4605
Adds origin and operation as parameters to File IO tracker set by the callers.
#skip-changelog