Skip to content

Commit 6176516

Browse files
Update Datadog.Trace version and ExcludeAssets instruction (#31739)
1 parent b45c83c commit 6176516

File tree

1 file changed

+2
-4
lines changed
  • content/en/serverless/aws_lambda/instrumentation

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,7 @@ module "lambda-datadog" {
304304
When using the [Datadog Lambda tracing layer for .NET][9], ensure that a second version of the .NET tracer is not also packaged with your application code. Add the `ExcludeAssets` instruction to ensure this extra tracer is excluded.
305305

306306
```xml
307-
<PackageReference Include="Datadog.Trace" Version="2.38.0">
308-
<ExcludeAssets>runtime</ExcludeAssets>
309-
</PackageReference>
307+
<PackageReference Include="Datadog.Trace" Version="3.26.3"/>
310308
```
311309

312310
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].
@@ -339,4 +337,4 @@ You can then add custom spans and span tags using the .NET tracer. For instructi
339337
[8]: https://github.com/DataDog/datadog-lambda-extension/issues
340338
[9]: https://github.com/DataDog/dd-trace-dotnet-aws-lambda-layer
341339
[10]: https://docs.datadoghq.com/tracing/trace_collection/custom_instrumentation/dotnet/dd-api/
342-
[11]: /serverless/aws_lambda/configuration?tab=datadogcli#collect-the-request-and-response-payloads
340+
[11]: /serverless/aws_lambda/configuration?tab=datadogcli#collect-the-request-and-response-payloads

0 commit comments

Comments
 (0)