File tree 4 files changed +4
-6
lines changed
Parameters/src/HelloWorld
ServerlessApi/src/LambdaPowertoolsAPI 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 8
8
<PackageReference Include =" Amazon.Lambda.Core" Version =" 2.1.0" />
9
9
<PackageReference Include =" Amazon.Lambda.APIGatewayEvents" Version =" 2.6.0" />
10
10
<PackageReference Include =" Amazon.Lambda.Serialization.SystemTextJson" Version =" 2.3.0" />
11
- <PackageReference Include =" AWS.Lambda.Powertools.Parameters" Version =" 0 .0.3-preview " />
11
+ <PackageReference Include =" AWS.Lambda.Powertools.Parameters" Version =" 1 .0.0 " />
12
12
</ItemGroup >
13
13
</Project >
Original file line number Diff line number Diff line change 15
15
<PackageReference Include =" Amazon.Lambda.AspNetCoreServer" Version =" 8.1.0" />
16
16
<PackageReference Include =" AWS.Lambda.Powertools.Logging" Version =" 1.2.0" />
17
17
<PackageReference Include =" AWS.Lambda.Powertools.Metrics" Version =" 1.3.3" />
18
- <PackageReference Include =" AWS.Lambda.Powertools.Tracing" Version =" 1.1.2 " />
18
+ <PackageReference Include =" AWS.Lambda.Powertools.Tracing" Version =" 1.2.0 " />
19
19
</ItemGroup >
20
20
</Project >
Original file line number Diff line number Diff line change 24
24
using Amazon . Lambda . APIGatewayEvents ;
25
25
using Amazon . Lambda . Core ;
26
26
using Amazon . Lambda . Serialization . SystemTextJson ;
27
- using Amazon . XRay . Recorder . Handlers . AwsSdk ;
28
27
using AWS . Lambda . Powertools . Logging ;
29
28
using AWS . Lambda . Powertools . Tracing ;
30
29
@@ -43,7 +42,7 @@ public class Function
43
42
/// </summary>
44
43
public Function ( )
45
44
{
46
- AWSSDKHandler . RegisterXRayForAllServices ( ) ;
45
+ Tracing . RegisterForAllServices ( ) ;
47
46
_httpClient = new HttpClient ( ) ;
48
47
49
48
var tableName = Environment . GetEnvironmentVariable ( "TABLE_NAME" ) ;
Original file line number Diff line number Diff line change 9
9
<PackageReference Include =" Amazon.Lambda.APIGatewayEvents" Version =" 2.6.0" />
10
10
<PackageReference Include =" Amazon.Lambda.Serialization.SystemTextJson" Version =" 2.3.1" />
11
11
<PackageReference Include =" AWS.Lambda.Powertools.Logging" Version =" 1.2.0" />
12
- <PackageReference Include =" AWS.Lambda.Powertools.Tracing" Version =" 1.1.2 " />
12
+ <PackageReference Include =" AWS.Lambda.Powertools.Tracing" Version =" 1.2.0 " />
13
13
<PackageReference Include =" AWSSDK.DynamoDBv2" Version =" 3.7.200.23" />
14
- <PackageReference Include =" AWSXRayRecorder.Handlers.AwsSdk" Version =" 2.12.0" />
15
14
</ItemGroup >
16
15
</Project >
You can’t perform that action at this time.
0 commit comments