Skip to content

Commit 8aa9e4b

Browse files
authored
Revert "Add capture_graphql_errors option to Python HTTP client integrations" (#7585)
This reverts commit 24ca1fe.
1 parent 6312fe0 commit 8aa9e4b

File tree

3 files changed

+0
-33
lines changed

3 files changed

+0
-33
lines changed

src/platforms/python/common/configuration/integrations/default-integrations.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,6 @@ The stdlib integration instruments certain modules in the standard library to em
6060
6161
- Subprocesses spawned with the `subprocess` module will result in a <PlatformLink to="/enriching-events/breadcrumbs/">breadcrumb</PlatformLink> being logged.
6262
63-
### Options
64-
65-
You can pass the following keyword arguments to `StdlibIntegration()`:
66-
67-
- `capture_graphql_errors`:
68-
69-
If enabled, the SDK will automatically create an error event whenever the response
70-
to a request to an endpoint called `/graphql` contains an `errors` array. The
71-
error event will have both the request and the response content if the SDK has
72-
been set up with `send_default_pii=True` (which is the default). If you don't want to capture client GraphQL errors, set `send_default_pii=False`.
73-
7463
## Modules
7564
7665
_Import name: `sentry_sdk.integrations.modules.ModulesIntegration`_

src/platforms/python/common/configuration/integrations/httpx.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,6 @@ sentry_sdk.init(
3434
)
3535
```
3636

37-
## Options
38-
39-
You can pass the following keyword arguments to `HttpxIntegration()`:
40-
41-
- `capture_graphql_errors`:
42-
43-
If enabled, the SDK will automatically create an error event whenever the response
44-
to a request to an endpoint called `/graphql` contains an `errors` array. The
45-
error event will have both the request and the response content if the SDK has
46-
been set up with `send_default_pii=True` (which is the default). If you don't want to capture client GraphQL errors, set `send_default_pii=False`.
47-
4837
## Supported Versions
4938

5039
- HTTPX: 0.16+

src/platforms/python/guides/aiohttp/index.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ web.run_app(app)
6060

6161
- All exceptions leading to an Internal Server Error are reported.
6262

63-
- AIOHTTP client requests will be instrumented.
64-
6563
- _The AIOHTTP integration currently does not attach the request body._ See
6664
[the relevant GitHub
6765
issue](https://github.com/getsentry/sentry-python/issues/220).
@@ -70,8 +68,6 @@ web.run_app(app)
7068
the [Logging](/platforms/python/guides/logging/)
7169
integration is enabled (done by default).
7270

73-
- GraphQL errors encountered when using the AIOHTTP client will be captured.
74-
7571
## Options
7672

7773
You can pass the following keyword arguments to `AioHttpIntegration()`:
@@ -98,10 +94,3 @@ Configure the way Sentry names transactions:
9894
- `<module_name>.hello` if you set `transaction_style="handler_name"`
9995

10096
The default is `"handler_name"`.
101-
102-
### `capture_graphql_errors`
103-
104-
If enabled, the SDK will automatically create an error event whenever the response
105-
to a request to an endpoint called `/graphql` contains an `errors` array. The
106-
error event will have both the request and the response content if the SDK has
107-
been set up with `send_default_pii=True` (which is the default). If you don't want to capture client GraphQL errors, set `send_default_pii=False`.

0 commit comments

Comments
 (0)