getsentry / sentry-docs

Sentry's documentation (and tools to build it)
https://docs.sentry.io
Other
331 stars 1.46k forks source link

Specify data collected in HTTP client errors #6728

Open rodolfoBee opened 1 year ago

rodolfoBee commented 1 year ago

Core or SDK?

Core Sentry product

Which part? Which one?

https://docs.sentry.io/platforms/apple/configuration/http-client-errors/

Description

It states:

The error event will contain the request and response data, such as url, status_code, and so on.

This is a vague description of what is expected from the SDK and leads to bad UX. For example, one might assume that "and so on" includes HTTP response body data, which it does not.

Suggested Solution

Explicitly list the data the SDK is expected to collect from the application and attach to such events.

### Tasks
- [ ] https://github.com/getsentry/sentry-docs/issues/6974
- [ ] Android
- [ ] https://github.com/getsentry/sentry-dart/issues/2130
- [ ] .NET
- [ ] React-Native
getsantry[bot] commented 1 year ago

Assigning to @getsentry/support for routing, due by (sfo). ⏲️

getsantry[bot] commented 1 year ago

Routing to @getsentry/team-mobile for triage, due by (sfo). ⏲️