From 4ca7991d08ac4cd294821ea0cf1c45834d2ca45e Mon Sep 17 00:00:00 2001 From: Martin Haintz Date: Tue, 17 Sep 2024 19:26:04 +0200 Subject: [PATCH] Specify data collected in HTTP client errors (#11055) * add additional informations what will be sent to sentry in the dart http integration * rearranged text for better readability * add date scrubbing info --- .../dart/integrations/http-integration.mdx | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/platforms/dart/integrations/http-integration.mdx b/docs/platforms/dart/integrations/http-integration.mdx index 14ecf5efea8d7..3d3fda4d05d63 100644 --- a/docs/platforms/dart/integrations/http-integration.mdx +++ b/docs/platforms/dart/integrations/http-integration.mdx @@ -52,6 +52,26 @@ try { } ``` +When an error occurs, the following information is captured and sent to Sentry: + +The marked elements (\*) are affected by the default enabled [server-side data scrubbing](https://docs.sentry.io/security-legal-pii/scrubbing/server-side-scrubbing/). +To implement client side data scrubbing, go to [client-side data scrubbing in Flutter](https://docs.sentry.io/platforms/flutter/data-management/sensitive-data/). + +Request details: + +- Method +- URL \* +- Headers \* +- Body \* +- Content length +- Duration + +Response details: + +- Headers \* +- Content length +- Status code + This is an opt-out feature. The following example shows how to disable it: