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
Bydefaultthis annotation will automatically record method responses and exceptions. To disable these features set the
49
-
parameter to false in the annotation.
64
+
By default this annotation will automatically record method responses and exceptions.
50
65
51
-
```java
66
+
<Notetype="warning">
67
+
<strong>Returning sensitive information from your Lambda handler or functions, where Tracer is used?</strong>
68
+
<br/><br/>
69
+
You can disable Tracer from capturing their responses and exception as tracing metadata with <strong><code>captureResponse=false</code></strong> and <strong><code>captureError=false</code></strong>
Annotations are key-values indexed by AWS X-Ray on a per trace basis. You can use them to filter traces as well as to create [Trace Groups](https://aws.amazon.com/about-aws/whats-new/2018/11/aws-xray-adds-the-ability-to-group-traces/).
84
+
85
+
You can add annotations using `putAnnotation()` method from PowerTracer and it will be correctly inject for the subsegment in concern.
86
+
87
+
```java
88
+
public class App implements RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent> {
User should make sure to instrument the SDK clients explicitly based on the function dependency. Refer details on
150
+
[how to instrument SDK client with Xray](https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java-awssdkclients.html) and [outgoing http calls](https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java-httpclients.html).
0 commit comments