Skip to content

Commit 7c88d11

Browse files
authored
docs(tracer): additional scenario when to disable auto-capture (#499)
Signed-off-by: heitorlessa <[email protected]>
1 parent e1511b4 commit 7c88d11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/core/tracer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,11 @@ tracer = Tracer(patch_modules=modules_to_be_patched)
201201
202202
Use **`capture_response=False`** parameter in both `capture_lambda_handler` and `capture_method` decorators to instruct Tracer **not** to serialize function responses as metadata.
203203

204-
!!! info "This is commonly useful in two scenarios"
204+
!!! info "This is commonly useful in three scenarios"
205205

206206
1. You might **return sensitive** information you don't want it to be added to your traces
207207
2. You might manipulate **streaming objects that can be read only once**; this prevents subsequent calls from being empty
208+
3. You might return **more than 64K** of data _e.g., `message too long` error_
208209

209210
=== "sensitive_data_scenario.py"
210211
```python hl_lines="3 7"

0 commit comments

Comments
 (0)