-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
feat: HttpClient response capture #1093
Conversation
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
- HttpClient response capture ([#1093](https://github.com/getsentry/sentry-dart/pull/1093)) If none of the above apply, you can opt out of this check by adding |
Codecov ReportBase: 89.98% // Head: 91.32% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1093 +/- ##
==========================================
+ Coverage 89.98% 91.32% +1.34%
==========================================
Files 115 9 -106
Lines 3585 196 -3389
==========================================
- Hits 3226 179 -3047
+ Misses 359 17 -342 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Android Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
04db237 | 330.16 ms | 428.38 ms | 98.22 ms |
870f5eb | 329.45 ms | 369.29 ms | 39.84 ms |
ef2f368 | 350.06 ms | 429.44 ms | 79.38 ms |
72dfc83 | 298.62 ms | 340.14 ms | 41.52 ms |
559d28f | 302.35 ms | 339.53 ms | 37.18 ms |
322aa66 | 284.98 ms | 341.76 ms | 56.78 ms |
4efee31 | 308.92 ms | 368.68 ms | 59.76 ms |
2f8f173 | 323.31 ms | 373.29 ms | 49.97 ms |
eecbbca | 324.37 ms | 352.49 ms | 28.12 ms |
613760b | 373.42 ms | 399.33 ms | 25.92 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
04db237 | 5.94 MiB | 6.95 MiB | 1.01 MiB |
870f5eb | 5.94 MiB | 6.92 MiB | 1005.77 KiB |
ef2f368 | 5.94 MiB | 6.89 MiB | 975.81 KiB |
72dfc83 | 5.94 MiB | 6.92 MiB | 1001.71 KiB |
559d28f | 5.94 MiB | 6.92 MiB | 1001.70 KiB |
322aa66 | 5.94 MiB | 6.92 MiB | 1005.75 KiB |
4efee31 | 5.94 MiB | 6.92 MiB | 1003.76 KiB |
2f8f173 | 5.94 MiB | 6.95 MiB | 1.01 MiB |
eecbbca | 5.94 MiB | 6.89 MiB | 975.78 KiB |
613760b | 5.94 MiB | 6.92 MiB | 1005.98 KiB |
iOS Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
9c5aec6 | 1266.51 ms | 1274.65 ms | 8.14 ms |
4efee31 | 1270.33 ms | 1285.75 ms | 15.42 ms |
eecbbca | 1264.90 ms | 1286.33 ms | 21.43 ms |
56810ff | 1267.59 ms | 1293.48 ms | 25.89 ms |
ef2f368 | 1259.12 ms | 1277.04 ms | 17.92 ms |
72dfc83 | 1262.50 ms | 1289.75 ms | 27.25 ms |
1c6eb5b | 1277.85 ms | 1285.71 ms | 7.86 ms |
2f8f173 | 1280.61 ms | 1292.20 ms | 11.59 ms |
559d28f | 1265.04 ms | 1288.96 ms | 23.92 ms |
6d317ea | 1277.27 ms | 1287.47 ms | 10.20 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
9c5aec6 | 8.15 MiB | 9.12 MiB | 986.23 KiB |
4efee31 | 8.15 MiB | 9.12 MiB | 991.35 KiB |
eecbbca | 8.15 MiB | 9.10 MiB | 965.26 KiB |
56810ff | 8.15 MiB | 9.12 MiB | 987.35 KiB |
ef2f368 | 8.15 MiB | 9.10 MiB | 965.24 KiB |
72dfc83 | 8.15 MiB | 9.12 MiB | 987.30 KiB |
1c6eb5b | 8.15 MiB | 9.12 MiB | 986.27 KiB |
2f8f173 | 8.15 MiB | 9.13 MiB | 1000.39 KiB |
559d28f | 8.15 MiB | 9.12 MiB | 987.32 KiB |
6d317ea | 8.15 MiB | 9.12 MiB | 986.26 KiB |
@vaind we've decided that the |
What about this RFC that (I'm pretty sure I've seen previously linked from the issue)? getsentry/rfcs#22 and that DIO integration already does this? |
That RFC does not contain the |
The |
gotcha. Do you think it makes sense to finish this without the response body then? That's actually already done, I'd just remove the TODO & update test to check the other fields in the response. |
Yes but this PR should close this Issue and not this Issue, the later is blocked since we should not offer an option to attach the response body yet. |
replaced by #1095 |
📜 Description
💡 Motivation and Context
closes #969
💚 How did you test it?
📝 Checklist
🔮 Next steps