SentryDioExtension extension
Extension to add performance tracing for Dio
- on
-
- Dio
Methods
-
addSentry(
{Hub? hub, List< SentryStatusCode> failedRequestStatusCodes = SentryHttpClient.defaultFailedRequestStatusCodes, List<String> failedRequestTargets = SentryHttpClient.defaultFailedRequestTargets}) → void -
Available on Dio, provided by the SentryDioExtension extension
Adds support for automatic spans for http requests, as well as request and response transformations. This must be the last initialization step of theDio
setup, otherwise your configuration of Dio might overwrite the Sentry configuration.