You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/core/tracing.mdx
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -73,14 +73,14 @@ public class App implements RequestHandler<APIGatewayProxyRequestEvent, APIGatew
73
73
```
74
74
75
75
Bydefault, this annotation will automatically record method responses and exceptions. You can change the default behavior by setting
76
-
the environment variables `TRACING_CAPTURE_RESPONSE` and `TRACING_CAPTURE_ERROR` as needed. Optionally, you can override behavior by
76
+
the environment variables `POWERTOOLS_TRACER_CAPTURE_RESPONSE` and `POWERTOOLS_TRACER_CAPTURE_ERROR` as needed. Optionally, you can override behavior by
77
77
different supported `captureMode` to record response, exception or both.
78
78
79
79
<Note type="warning">
80
80
<strong>Returning sensitive information from your Lambda handler or functions, where Tracer is used?</strong>
81
81
<br/><br/>
82
82
You can disable annotation from capturing their responses and exception as tracing metadata with <strong><code>captureMode=DISABLED</code></strong>
83
-
or globally by setting environment variables <strong><code>TRACING_CAPTURE_RESPONSE</code></strong> and <strong><code>TRACING_CAPTURE_ERROR</code></strong> to <strong><code>false</code></strong>.
83
+
or globally by setting environment variables <strong><code>POWERTOOLS_TRACER_CAPTURE_RESPONSE</code></strong> and <strong><code>POWERTOOLS_TRACER_CAPTURE_ERROR</code></strong> to <strong><code>false</code></strong>.
Copy file name to clipboardExpand all lines: powertools-tracing/src/main/java/software/amazon/lambda/powertools/tracing/internal/LambdaTracingAspect.java
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ public Object around(ProceedingJoinPoint pjp,
Copy file name to clipboardExpand all lines: powertools-tracing/src/test/java/software/amazon/lambda/powertools/tracing/internal/LambdaTracingAspectTest.java
0 commit comments