Datadog.Trace.Bundle 3.16.0

Prefix Reserved
dotnet add package Datadog.Trace.Bundle --version 3.16.0
                    
NuGet\Install-Package Datadog.Trace.Bundle -Version 3.16.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Datadog.Trace.Bundle" Version="3.16.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Datadog.Trace.Bundle" Version="3.16.0" />
                    
Directory.Packages.props
<PackageReference Include="Datadog.Trace.Bundle" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Datadog.Trace.Bundle --version 3.16.0
                    
#r "nuget: Datadog.Trace.Bundle, 3.16.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Datadog.Trace.Bundle&version=3.16.0
                    
Install Datadog.Trace.Bundle as a Cake Addin
#tool nuget:?package=Datadog.Trace.Bundle&version=3.16.0
                    
Install Datadog.Trace.Bundle as a Cake Tool

Datadog.Trace.Bundle NuGet package

This package contains the full Datadog .NET APM suite for Tracing (automatic, and custom), Continuous Profiler and Application Security Monitoring (ASM).

Should I install this package?

Do not install this package if any of the following are true:

Install this package if:

  • You are running in a scenario where you can't install an MSI or Linux package. Services such as Azure Service Fabric provide limited access to the underlying server.
  • You want to use both custom and automatic instrumentation, and keeping tracer versions in-sync is a chore.
  • You are running multiple applications on a server and some of them use custom instrumentation, as well as automatic instrumentation.
  • You prefer to deploy a static set of binaries rather than relying on existing infrastructure on the host.

If you are using automatic instrumentation and would like to interact with APM only through C# attributes, see the Datadog.Trace.Annotations NuGet package.

What does Datadog.Trace.Bundle contain?

Datadog.Trace.Bundle contains two things:

  • A reference to the Datadog.Trace NuGet package for custom instrumentation.
  • The native binaries required for automatic instrumentation, for the Continuous Profiler, and for ASM.

These native binaries are identical to those installed by the MSI and Linux installer packages, so Datadog.Trace.Bundle should be considered an alternative deployment mechanism for automatic instrumentation.

The main advantages of Datadog.Trace.Bundle over the MSI or Linux packages are:

  • You can use it in locations where you cannot access the underlying host to install the MSI or Linux package.
  • You can have multiple applications on the same host using different versions of Datadog.Trace.Bundle without issue.

Getting Started

  1. Configure the Datadog agent for APM as described in our documentation.
  2. Add the Datadog.Trace.Bundle NuGet package to your project, using dotnet add package Datadog.Trace.Bundle, for example.
  3. Configure the tracer on the server, as described below
  4. View your live data on Datadog.

Configure the tracer

After adding the NuGet package to your project, set the following required environment variables to enable automatic instrumentation of your application and restart the application.

NOTE: The following are the mandatory variables. For further configuration options, see our public documentation for the Tracer and the Continuous Profiler.

.NET Core:

CORECLR_ENABLE_PROFILING=1
CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}
CORECLR_PROFILER_PATH=<System-dependent path>
DD_DOTNET_TRACER_HOME=<APP_DIRECTORY>/datadog

.NET Framework:

COR_ENABLE_PROFILING=1
COR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}
COR_PROFILER_PATH=<System-dependent path>
DD_DOTNET_TRACER_HOME=<APP_DIRECTORY>/datadog

The value for the <APP_DIRECTORY> placeholder is the path to the directory containing the application’s .dll files. The value for the CORECLR_PROFILER_PATH/COR_PROFILER_PATH environment variable varies based on the system where the application is running:

OPERATING SYSTEM AND PROCESS ARCHITECTURE CORECLR_PROFILER_PATH VALUE
Alpine Linux x64 <APP_DIRECTORY>/datadog/linux-musl-x64/Datadog.Trace.ClrProfiler.Native.so
Linux x64 <APP_DIRECTORY>/datadog/linux-x64/Datadog.Trace.ClrProfiler.Native.so
Alpine Linux ARM64 <APP_DIRECTORY>/datadog/linux-musl-arm64/Datadog.Trace.ClrProfiler.Native.so
Linux ARM64 <APP_DIRECTORY>/datadog/linux-arm64/Datadog.Trace.ClrProfiler.Native.so
Windows x64 <APP_DIRECTORY>\datadog\win-x64\Datadog.Trace.ClrProfiler.Native.dll
Windows x86 <APP_DIRECTORY>\datadog\win-x86\Datadog.Trace.ClrProfiler.Native.dll

For Docker images running on Linux, configure the image to run the createLogPath.sh script:

RUN /<APP_DIRECTORY>/datadog/createLogPath.sh

Examples

Docker examples are available here

Get in touch

If you have questions, feedback, or feature requests, reach our support.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Datadog.Trace.Bundle:

Package Downloads
Be.Vlaanderen.Basisregisters.AddressRegistry.Api.Oslo

Address Registry.

Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.Oslo

StreetName Registry.

Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.BackOffice

StreetName Registry.

Be.Vlaanderen.Basisregisters.BuildingRegistry.Api.Oslo

Building Registry.

Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.Oslo

Parcel Registry.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.16.0 14,977 5/6/2025
3.15.0 39,788 4/21/2025
3.14.3 44,699 4/10/2025
3.14.2 34,057 4/3/2025
3.14.1 6,964 4/3/2025
3.14.0 12,669 4/2/2025
3.13.0 50,985 3/24/2025
3.12.0 89,864 3/11/2025
3.11.1 99,063 2/24/2025
3.11.0 13,945 2/24/2025
3.10.2 36,056 2/20/2025
3.10.1 64,186 2/12/2025
3.10.0 36,137 2/11/2025
3.9.1 155,374 1/29/2025
3.9.0 64,271 1/22/2025
3.8.0 146,931 1/7/2025
3.7.0 114,355 12/18/2024
3.6.1 157,764 11/26/2024
3.6.0 114,530 11/19/2024
3.5.0 146,925 11/6/2024
3.4.1 122,890 10/28/2024
3.4.0 54,117 10/24/2024
3.3.1 344,710 9/18/2024
3.3.0 13,164 9/16/2024
3.2.0 163,465 9/2/2024
3.1.0-prerelease 1,114 8/14/2024
3.0.0-prerelease 940 7/29/2024
2.61.0 83,897 11/6/2024
2.60.0 27,632 10/24/2024
2.59.0 256,011 9/16/2024
2.58.0 33,698 9/2/2024
2.57.0 207,494 8/14/2024
2.56.0 314,032 7/25/2024
2.55.0 58,004 7/18/2024
2.54.0 105,377 7/9/2024
2.53.2 3,465,366 6/19/2024
2.53.1 41,133 6/17/2024
2.53.0 105,046 6/11/2024
2.52.0 540,340 5/23/2024
2.51.0 281,171 5/6/2024
2.50.0 214,827 4/17/2024
2.49.0 542,398 3/18/2024
2.48.0 829,921 2/29/2024
2.47.0 241,195 2/14/2024
2.46.0 377,966 1/24/2024
2.45.0 140,321 1/10/2024
2.44.0 276,013 12/19/2023
2.43.0 171,369 12/5/2023
2.42.0 9,816 11/21/2023
2.41.0 297,061 11/6/2023
2.40.0 154,086 10/16/2023
2.39.0 30,984 10/11/2023
2.38.0 162,491 9/20/2023
2.37.0 191,972 8/31/2023
2.36.0 297,975 8/23/2023
2.35.0 176,891 7/31/2023
2.34.0 34,615 7/25/2023
2.33.0 134,843 7/4/2023
2.32.0 156,710 6/20/2023
2.31.0 140,366 5/31/2023
2.30.0 350,022 5/5/2023
2.29.0 181,777 4/17/2023
2.28.0 26,737 4/12/2023
2.27.0 108,625 3/24/2023
2.26.0 147,321 3/9/2023
2.24.1 765,806 2/27/2023
2.24.0 10,986 2/24/2023
2.23.0 293,263 2/8/2023
2.22.0 126,929 1/24/2023
2.21.0 230,256 12/20/2022
2.20.0 100,223 12/2/2022
2.19.0 95,619 11/10/2022
2.18.0 167,212 10/25/2022
2.17.0 718,029 10/11/2022
2.16.0 47,649 10/7/2022

See release notes at https://github.com/DataDog/dd-trace-dotnet/releases.
     Please note that Datadog does not support tracing (manual or automatic) in partial-trust environments.