Skip to content

Commit 92a4f37

Browse files
committed
fix: uncommented required using and X-Ray implementations
1 parent 024204c commit 92a4f37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Unicorn.Properties/PropertiesService/ContentIntegrityValidatorFunction.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
using System.Text.Json;
55
using System.Text.Json.Nodes;
66
using Amazon.Lambda.Core;
7-
// using Amazon.XRay.Recorder.Handlers.AwsSdk;
7+
using Amazon.XRay.Recorder.Handlers.AwsSdk;
88
using AWS.Lambda.Powertools.Logging;
99
using AWS.Lambda.Powertools.Metrics;
10-
// using AWS.Lambda.Powertools.Tracing;
10+
using AWS.Lambda.Powertools.Tracing;
1111

1212
// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
1313
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer))]
@@ -26,7 +26,7 @@ public class ContentIntegrityValidatorFunction
2626
public ContentIntegrityValidatorFunction()
2727
{
2828
// Instrument all AWS SDK calls
29-
// AWSSDKHandler.RegisterXRayForAllServices();
29+
AWSSDKHandler.RegisterXRayForAllServices();
3030
}
3131

3232

0 commit comments

Comments
 (0)