Skip to content

Commit d2293ca

Browse files
lucaspimentelclaude
andcommitted
Add prerequisites and cross-references to AWS Lambda .NET docs
Add a Prerequisites section to help users understand Lambda-specific requirements before they begin setup. Add Configuration and Troubleshooting sections with cross-references to main APM docs. Key additions: - Prerequisites section explaining Lambda-specific differences - Links to .NET Core compatibility requirements - Links to main .NET Core APM docs for background concepts - Configuration section with Lambda-specific notes - Troubleshooting section with diagnostic tool references This improves navigation between Lambda-specific docs and foundational APM documentation, helping users understand how Lambda differs from traditional host-based setups. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 87e3c4d commit d2293ca

File tree

1 file changed

+30
-0
lines changed
  • content/en/serverless/aws_lambda/instrumentation

1 file changed

+30
-0
lines changed

content/en/serverless/aws_lambda/instrumentation/dotnet.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,21 @@ further_reading:
1717

1818
<div class="alert alert-info">Version 67+ of the Datadog Lambda Extension is optimized to significantly reduce cold start duration. <a href="/serverless/aws_lambda/configuration/?tab=datadogcli#using-datadog-lambda-extension-v67">Read more</a>.</div>
1919

20+
## Prerequisites
21+
22+
Before instrumenting your Lambda function:
23+
24+
1. **Review compatibility requirements:** See [.NET Core Compatibility](/tracing/trace_collection/compatibility/dotnet-core) for supported .NET versions and integrations.
25+
2. **Understand Lambda-specific differences:**
26+
- Uses Lambda layers instead of MSI/system installation
27+
- Custom instrumentation requires matching layer and NuGet package versions
28+
- Environment variables are set in Lambda configuration, not system-wide
29+
3. **Learn about .NET tracing:** If you're new to Datadog .NET tracing, read [Tracing .NET Core Applications](/tracing/trace_collection/automatic_instrumentation/dd_libraries/dotnet-core) for background concepts.
30+
31+
<div class="alert alert-info">
32+
Looking for traditional host-based setup instead? See <a href="/tracing/trace_collection/automatic_instrumentation/dd_libraries/dotnet-core">Tracing .NET Core Applications</a>.
33+
</div>
34+
2035
## Setup
2136

2237
If your application is deployed as a container image, use the _Container Image_ method.
@@ -309,6 +324,21 @@ When using the [Datadog Lambda tracing layer for .NET][9], ensure that a second
309324

310325
You can then add custom spans and span tags using the .NET tracer. For instructions on how to add spans, see [.NET custom instrumentation][10].
311326

327+
## Configuration
328+
329+
Lambda functions support most standard .NET tracer configuration options. See [.NET Core Library Configuration](/tracing/trace_collection/library_config/dotnet-core/) for the full list of environment variables.
330+
331+
**Lambda-specific configuration notes:**
332+
- Set environment variables in Lambda function configuration, not in code
333+
- Some Agent-related settings (like `DD_AGENT_HOST`) are managed by the Datadog Extension
334+
- Tracer version is determined by the Lambda layer version
335+
336+
## Troubleshooting
337+
338+
For common issues and debugging steps, see:
339+
- [.NET Diagnostic Tool](/tracing/troubleshooting/dotnet_diagnostic_tool)
340+
- [Troubleshoot Serverless Monitoring](/serverless/guide/troubleshoot_serverless_monitoring)
341+
312342
## FIPS compliance
313343

314344
{{% svl-lambda-fips %}}

0 commit comments

Comments
 (0)