@@ -298,4 +298,4 @@ For the Tracing utility to work correctly and without trim warnings please add t
Note that when you receive a trim warning, adding the class that generates the warning to TrimmerRootAssembly might not resolve the issue. A trim warning indicates that the class is trying to access some other class that can't be determined until runtime. To avoid runtime errors, add this second class to TrimmerRootAssembly.
-To learn more about managing trim warnings, see [Introduction to trim warnings](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/fixing-warnings) in the Microsoft .NET documentation.
\ No newline at end of file
+To learn more about managing trim warnings, see [Introduction to trim warnings](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/fixing-warnings) in the Microsoft .NET documentation.
diff --git a/docs/index.md b/docs/index.md
index b78a36c7..29875d66 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -120,7 +120,53 @@ We have provided a few examples that should you how to use the each of the core
## Connect
* **Powertools for AWS Lambda (.NET) on Discord**: `#dotnet` - **[Invite link](https://discord.gg/B8zZKbbyET){target="_blank"}**
-* **Email**: aws-lambda-powertools-feedback@amazon.com
+* **Email**: aws-powertools-maintainers@amazon.com
+
+## Support Powertools for AWS Lambda (.NET)
+
+There are many ways you can help us gain future investments to improve everyone's experience:
+
+
+
+- :heart:{ .lg .middle } __Become a public reference__
+
+ ---
+
+ Add your company name and logo on our [landing page](https://powertools.aws.dev).
+
+ [:octicons-arrow-right-24: GitHub Issue template](https://github.com/aws-powertools/powertools-lambda-dotnet/issues/new?assignees=&labels=customer-reference&template=support_powertools.yml&title=%5BSupport+Lambda+Powertools%5D%3A+%3Cyour+organization+name%3E){target="_blank"}
+
+- :mega:{ .lg .middle } __Share your work__
+
+ ---
+
+ Blog posts, video, and sample projects about Powertools for AWS Lambda.
+
+ [:octicons-arrow-right-24: GitHub Issue template](https://github.com/aws-powertools/powertools-lambda-dotnet/issues/new?assignees=&labels=customer-reference&template=support_powertools.yml&title=%5BSupport+Lambda+Powertools%5D%3A+%3Cyour+organization+name%3E){target="_blank"}
+
+- :partying_face:{ .lg .middle } __Join the community__
+
+ ---
+
+ Connect, ask questions, and share what features you use.
+
+ [:octicons-arrow-right-24: Discord invite](https://discord.gg/B8zZKbbyET){target="blank"}
+
+
+
+### Becoming a reference customer
+
+Knowing which companies are using this library is important to help prioritize the project internally. The following companies, among others, use Powertools:
+
+
+
+[**Caylent**](https://caylent.com/){target="_blank" rel="nofollow"}
+{ .card }
+
+[**Pushpay**](https://pushpay.com/){target="_blank" rel="nofollow"}
+{ .card }
+
+
## Tenets
diff --git a/examples/AOT/src/AOT/AOT.csproj b/examples/AOT/src/AOT/AOT.csproj
index b038edb3..62f453ff 100644
--- a/examples/AOT/src/AOT/AOT.csproj
+++ b/examples/AOT/src/AOT/AOT.csproj
@@ -21,5 +21,6 @@
+
\ No newline at end of file
diff --git a/examples/AOT/src/AOT/Function.cs b/examples/AOT/src/AOT/Function.cs
index df2b4729..823b9d15 100644
--- a/examples/AOT/src/AOT/Function.cs
+++ b/examples/AOT/src/AOT/Function.cs
@@ -3,6 +3,7 @@
using Amazon.Lambda.Serialization.SystemTextJson;
using System.Text.Json.Serialization;
using AWS.Lambda.Powertools.Metrics;
+using AWS.Lambda.Powertools.Tracing;
namespace AOT;
@@ -45,6 +46,7 @@ await LambdaBootstrapBuilder.Create(handler,
// You can optionally capture cold start metrics by setting CaptureColdStart parameter to true.
[Metrics(Namespace = "ns", Service = "svc", CaptureColdStart = true)]
+ [Tracing(CaptureMode = TracingCaptureMode.ResponseAndError)]
public static string FunctionHandler(string input, ILambdaContext context)
{
// You can create metrics using AddMetric
@@ -53,12 +55,15 @@ public static string FunctionHandler(string input, ILambdaContext context)
return ToUpper(input);
}
+ [Tracing(SegmentName = "ToUpper Call")]
private static string ToUpper(string input)
{
Metrics.AddMetric("ToUpper invocation", 1, MetricUnit.Count);
var upper = input.ToUpper();
+ Tracing.AddAnnotation("Upper text", upper);
+
// You can add high-cardinality data as part of your Metrics log with AddMetadata method.
// This is useful when you want to search highly contextual information along with your metrics in your logs.
Metrics.AddMetadata("Input Uppercase", upper);
diff --git a/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj b/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj
index d6d050bc..4b8d299c 100644
--- a/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj
+++ b/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj
@@ -15,6 +15,6 @@