Skip to content

Commit 1881ff0

Browse files
lucaspimentelclaude
andcommitted
Address PR review feedback on AWS Lambda .NET docs
- Change "Before instrumenting" to "Before you begin" for direct language - Clarify NuGet version must match Lambda layer version - Remove "you're" contraction per style guide - Replace "traditional host-based" with specific deployment types - Clarify environment variable configuration location 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e64802b commit 1881ff0

File tree

1 file changed

+5
-5
lines changed
  • content/en/serverless/aws_lambda/instrumentation

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ further_reading:
1919

2020
## Prerequisites
2121

22-
Before instrumenting your Lambda function:
22+
Before you begin, complete these prerequisites:
2323

2424
1. **Review compatibility requirements:** See [.NET Core Compatibility](/tracing/trace_collection/compatibility/dotnet-core) for supported .NET versions and integrations.
2525
2. **Understand Lambda-specific differences:**
2626
- Uses Lambda layers instead of MSI/system installation
27-
- Custom instrumentation requires matching layer and NuGet package versions
27+
- Custom instrumentation requires the NuGet package version to match the Lambda layer version
2828
- 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.
29+
3. **Learn about .NET tracing:** If new to Datadog .NET tracing, read [Tracing .NET Core Applications](/tracing/trace_collection/automatic_instrumentation/dd_libraries/dotnet-core) for background concepts.
3030

3131
<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>.
32+
Looking for setup on hosts, containers, or Kubernetes instead? See <a href="/tracing/trace_collection/automatic_instrumentation/dd_libraries/dotnet-core">Tracing .NET Core Applications</a>.
3333
</div>
3434

3535
## Setup
@@ -334,7 +334,7 @@ You can then add custom spans and span tags using the .NET tracer. For instructi
334334
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.
335335

336336
**Lambda-specific configuration notes:**
337-
- Set environment variables in Lambda function configuration, not in code
337+
- Set environment variables in Lambda function configuration (not through IConfiguration or System.Environment.SetEnvironmentVariable)
338338
- Some Agent-related settings (like `DD_AGENT_HOST`) are managed by the Datadog Extension
339339
- Tracer version is determined by the Lambda layer version
340340

0 commit comments

Comments
 (0)