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
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>
Copy file name to clipboardExpand all lines: content/en/serverless/aws_lambda/instrumentation/dotnet.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,21 @@ further_reading:
17
17
18
18
<divclass="alert alert-info">Version 67+ of the Datadog Lambda Extension is optimized to significantly reduce cold start duration. <ahref="/serverless/aws_lambda/configuration/?tab=datadogcli#using-datadog-lambda-extension-v67">Read more</a>.</div>
19
19
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
+
<divclass="alert alert-info">
32
+
Looking for traditional host-based setup instead? See <ahref="/tracing/trace_collection/automatic_instrumentation/dd_libraries/dotnet-core">Tracing .NET Core Applications</a>.
33
+
</div>
34
+
20
35
## Setup
21
36
22
37
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
309
324
310
325
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].
311
326
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 functionconfiguration, 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
0 commit comments