Feature request: Sentry Instrumentation for Dart io HttpClient. #1483
Closed
silverhairs
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Yes, relates to #539 which is a feature request already, thanks for raising this up again, maybe we should raise the priority. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Out of the box, when performing http request in things such as the
NetworkImage
widget or theCachedNetworkImagePackage
flutter uses dart's io HttpClient class. Currently Sentry does not have a package to instrument that. It's easy to override the underlyingHttpClient
with a custom implementation by extending HttpOverrides and overriding thecreateHttpClient
method; but we cannot pass dio and http.Client which are the two http client packages that sentry have instrumentation for. I think it would be important for sentry to support the native classes before going into the 3rd party libraries, this will reduce dependency on external library, and as a developer, I will not be obliged to depend on a 3rd party if I just want to instrument network request.Beta Was this translation helpful? Give feedback.
All reactions