NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #2926 most downloaded on NuGet
Auto-instrumentation dotnet global tool for Datadog APM
Latest stable
3.57.0
Last release 24 days ago
02 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
127 years old
176 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
:warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This is
:warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This issue has been fixed in 2.23.0.
Tracer
DD_TRACE_CLIENT_IP_ENABLED (#3419)DD_TAGS) (#3328)SpanSampler into AgentWriter.WriteTrace (#3381)ILogger direct submission when formatter returns null (#3398)SetTag() source generator to avoid incorrect usage (#3415)coverage and traces_pipeline stages (#3390)Your coding agent can read these notes before it upgrades. Set up the MCP server →
[IAST] Implementation of the basic classes that will be used in IAST and the insecure hashing vulnerability detection
:warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This issue has been fixed in 2.23.0.
Profiler
DD_PROFILING_ALLOCATION_ENABLED=1 and DD_PROFILING_CONTENTION_ENABLED=1 respectivelySpanRateLimiter for Single Span Ingestion (#3282)SpanSamplingRule for Single Span Ingestion (#3283)_sampling_priority_v1 (#3315)ContainerMetadata parsing more lenient (#3354)dd-trace tool and Datadog.Trace.Bundle (#3363)SpanSamplerTests to fix flake (#3368):warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This is
:warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This issue has been fixed in 2.23.0.
InvalidProgramException when certain code patterns are found in instrumented classes (first identified in EFCache). This issue is present in all previous 2.x versions.Datadog.Trace.Bundle in NugetDeployment samples (#3273):warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This is
:warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This issue has been fixed in 2.23.0.
Datadog.Trace.Bundle Nuget package Generally Available. This package contains the full Datadog .NET APM suite for Tracing (automatic, and custom), Continuous Profiler and Application Security Monitoring (ASM).IDiscoveryService to DataStreamsManager (#3220)DataStreamsWriter (#3304)DD_TRACE_KAFKA_CREATE_CONSUMER_SCOPE_ENABLED=0 (#3311)netcoreapp2.0-net5.0 (#3284)Datadog.Monitoring.Distrib into Datadog.Trace.Bundle (#3263)DebuggerSnapshotCreatorTests.Limits_LargeDictionary as it's flaky (#3310)createdump tool crashes. (#3272)DataStreamsWriter test (#3317):warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This is
:warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This issue has been fixed in 2.23.0.
Process.Start_dd.p.dm tag (#2982)unchecked to FNV hash calculations (#3109)VarEncodingHelper for use in Data Streams Monitoring (#3129)Random implementation (for Data streams monitoring) (#3130)CustomSamplingRule (#3132)client_drop_p0s (#3152)DiscoveryService to handle changes to settings and agent upgrade (#3154)Api when sending to agent fails (#3180)Content-Encoding in IApiRequest (#3238)NullDiscoveryService for CI visibility and testing (#3253)Process.Start (#3146)LifeTimeManager for LiveDebugger shutdown events (#3200)SocketException detection (#3123)RemoteConfigurationApi instead of using file provider (#3182)5.x.x (#3184)unit_tests_macos (#3232)DiscoveryServiceTests to reduce flake (#3233):warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This is
:warning: If you're updating the MSI from version 2.13.0 or earlier and you are missing traces, you should restart the machine after updating. This issue has been fixed in 2.23.0.
FrameworkDescription (#3100)dd-trace NuGet package (#3070)UpdateMsiContents Target and SyncMsiContent (#3074)MockTracerAgent (#3095)DD_INTERNAL_NATIVE_LOADER_PATH env var (#3069)Use macos-11 for builds instead of macos-10.15 as that is deprecated
http.route, http.url, http.useragent, and http.client_ip tags have been standardised
http.url. Set DD_HTTP_SERVER_TAG_QUERY_STRING=false to disable querystring collection.x-datadog-tags propagation header was added even when empty or disabledhttp.url, query string is now collected by defaultDebuggerSampleProcessHelper (#3013)process_id in smoke test snapshots on Linux (#3003)dotenv installed with fpm (#3014)x-datadog-tags header is propagated to downstream services even if empty. The setting to disable it falls into the same bug and thus doesn't work. Do
x-datadog-tags header is propagated to downstream services even if empty. The setting to disable it falls into the same bug and thus doesn't work. Do not use this version if some of the services you interact with do not accept all new headers. Fixed in #3001[Tracer Sampling] The tracing library no longer applies a default sampling rate of 100%. Instead, the library applies the default sampling rate calcul
createLogPath.sh executable again (issue introduced in 2.10.0)isScheduledBuild to isBenchmarksOnlyBuild (#2893)Continuous profiler now available on linux (needs GLIBC 2.18+, which means Centos 7 is not supported in this release)
Main changes are:
Also here are more minor changes on the Tracer integrations:
NLog integration supports v5.0.0aspnet.request resource name with IIS virtual apps in the rare cases it happenedhttp.status_code tag for ASP.NET MVC with IIS in Classsic-mode when an exception is thrownMySqlConnector support starts at v0.61.0chmod. Fixed in 2.11.0http.status_code in ASP.NET MVC with IIS classic mode (#2854)dd-apm-test-agent in smoke tests (#2793)ThreadAbortAnalyzer to work with the latest .NET SDK (#2833)AspNetCoreDiagnosticObserver tests (#2849)LambdaRequestBuilderTests (#2863)so library files (#2874)This version mainly contains Tracer bug fixes:
This version mainly contains Tracer bug fixes:
ArgumentNullException when trying to set Tracer.Instance to null (#2437)pid tag into process id (#2789)UpdateVersion task (#2766)build_data directory (#2773)git clean -ffdx in checkout code (#2785)Solves a use case where the tracer would hang on startup, on CentOs.
This version mainly:
[Trace] attributesHttpClient for UDS in .NET 6 (#2665)CORPROF_E_PROFILER_CANCEL_ACTIVATION if Tracing is Disabled (#2685)SkipException (#2727)Support for automatic custom tracing using [Trace] attributes, using Datadog.Trace.Annotations
This version includes:
[Trace] attributes, using Datadog.Trace.Annotations[Trace] (Datadog.Trace.Annotations.TraceAttribute) (#2606)loading dynamic library mechanism to shared code (#2624)Tracing for Grpc.AspNetCore.Server, Grpc.Net.Client and Grpc.Core. More information in the public doc
This version mainly brings:
process_id tag to root span during serialization (#2544)DD_TRACE_METHODS issue with manual-automatic version mismatch (#2621)force_run_exploration_tests_isTracerChanged variables (#2615)From now on, _Datadog Continuous Profiler_ is released within the MSI on Windows. It is deactivated by default. Set the environment variable DD_PROFIL
DD_PROFILING_ENABLED=1 to enable it.DD_TRACE_METHODS variable. Public documentation change is in progress (Install 2.6.0 instead if you want to test this feature as we have fixed one issue when using different versions between Custom and Automatic instrumentation).ExpandRouteTemplatesEnabled setting for ASP.NET Core (#2496)x-datadog-tags header (#2507)DD_TRACE_EXPAND_ROUTE_TEMPLATES_ENABLED (#2517)int status code is not valid, don't set it (#2529)language tag during serialization and add to manual spans (#2542)volatile in Tracer creation (#2508)std::filesystem implementation for Linux (#2527)Datadog.Trace.ClrProfiler.Native directly (#2358)--overwrite true to Azure upload (#2556)Nothing published for this version
[AppSec] Support postfix time format for WAF timeout
This release fixes a dependency issue in the .NET Continuous Profiler Beta MSI, which was introduced in 2.4.0. We recommend updating if you are using
This release fixes a dependency issue in the .NET Continuous Profiler Beta MSI, which was introduced in 2.4.0. We recommend updating if you are using the continuous profiler, and are currently using versions 2.4.0-2.4.2.
⛔ Due to a possible crash situation with the .NET continuous profiler, we recommend upgrading to 2.4.3 which fixes the issue. This only applies if you
⛔ Due to a possible crash situation with the .NET continuous profiler, we recommend upgrading to 2.4.3 which fixes the issue. This only applies if you are using the .NET continuous profiler.
x-datadog-tags header (#2506)⛔ Due to a possible crash situation with the .NET continuous profiler, we recommend upgrading to 2.4.3 which fixes the issue. This only applies if you
⛔ Due to a possible crash situation with the .NET continuous profiler, we recommend upgrading to 2.4.3 which fixes the issue. This only applies if you are using the .NET continuous profiler.
Add ExpandRouteTemplatesEnabled setting for ASP.NET Core (#2496) (#2500)
⛔ Due to a possible crash situation with the .NET continuous profiler, we recommend upgrading to 2.4.3 which fixes the issue. This only applies if you
⛔ Due to a possible crash situation with the .NET continuous profiler, we recommend upgrading to 2.4.3 which fixes the issue. This only applies if you are using the .NET continuous profiler.
ci_library.language tag to language (#2433)StartSpan() and StartActive() overloads in Tracer (#2406)IApiRequest.PostAsJson() method (#2411)http.status_code tag on ASP.NET Core spans with errors (#2458)SpanContextPropagatorTests (#2414).vsconfig (#2407)Refactor Rejit Handling to support debugger use case
Tracer/TracerManager (#2330)TraceContext.SamplingPriority setter (#2368)int internally instead of enum for sampling priority values (#2372)FormatterResolverWrapper (#2384)Azure functions enabled by default, but still unpluggable
Added support for instrumenting abstract methods (#2120, #2169)
SpanContextPropagator (#2180, #2261)System.Diagnostics.CodeAnalysis namespace (#2181)ITraceContext (#2225)This release supersedes 2.0.0-prerelease. Let us start by recalling the main changes of this version compared to the 1.31 one:
This release supersedes 2.0.0-prerelease. Let us start by recalling the main changes of this version compared to the 1.31 one:
Datadog.Trace.Tracer is now a singleton and its settings can be updated with Tracer.ConfigureDatadog.Trace.Tracer implements ITracer for use in DIScope/Span classes with IScope/ISpan classes[2.0] Mark deprecated settings obsolete
Datadog.Trace.Tracer is now a singleton and its settings can be updated with Tracer.ConfigureDatadog.Trace.Tracer implements ITracer for use in DIScope/Span classes with IScope/ISpan classesIntegrationIds.ElasticsearchNet5 into ElasticsearchNet (#1983)AdoNet into individual ids per db type (#2008)integrations.json and DD_INTEGRATIONS (#2073)MethodBuilder and test references (#2074)Support cleaning filenames in http-client + aspnet
http.status_code tag on ASP.NET Core spans with errors (#2458)[AppSec] Move bug fixes to v1.x branch
[AppSec] Report attacks by the _dd.appsec.triggers tag
[AppSec] Waf fixes: reading register for waf and unit tests for alpine
:no_entry: Due to a possible crash situation when mixing version 1.30.0 with other versions, we recommend upgrading to 1.30.1 which fixes the issue.
:no_entry: Due to a possible crash situation when mixing version 1.30.0 with other versions, we recommend upgrading to 1.30.1 which fixes the issue.
[Appsec] Send events in utf 8 without byte marker
[AppSec] Send ip addresses headers to the backend
LocalRootSpanId property and tests for SpanId and LocalRootSpanId. (#1839)Adds automatic instrumentation for GraphQL 3 and 4
Update AppSec native library version
Add automatic instrumentation support for Aerospike.Client
Aerospike.Client (#1717)Microsoft.Extensions.Logging (ILogger) (#1663)Datadog.Monitoring.Distribution NuGet package (#1661, #1720, #1728)Remove usage of non-builtin types in Attribute named arguments
/shared folder for consumption by the Profiler. (#1697)Process instance for runtime metrics (#1698)AppDomain.CurrentDomain.BaseDirectory instead of Environment.CurrentDirectory when searching for configuration file (#1700)Revert change that writes error messages to stderr to avoid breaking changes
Process instance for runtime metrics (#1698)AppDomain.CurrentDomain.BaseDirectory instead of Environment.CurrentDirectory when searching for configuration file (#1700)stderr to avoid breaking changes (#1677)Merge auto-instrumentation code into Datadog.Trace.dll
⛔ Due to a possible deadlock when synchronously waiting on async tasks, we recommend upgrading to 1.28.4 which fixes the issue.
⛔ Due to a possible deadlock when synchronously waiting on async tasks, we recommend upgrading to 1.28.4 which fixes the issue.
test.framework tag in CIApp (#1622)Add a public ForceFlushAsync API on the Tracer
Enable calltarget instrumentation by default on .NET 4.6+ runtimes
Fix possible crash condition in .NET Framework 4.5, 4.5.1, and 4.5.2 (#1528, #1539)
release/* and hotfix/* branches where appropriate (#1545, #1546)Add Linux ARM64 support (auto instrumentation supported on .NET 5 Only)
_dd.origin tag improvements for CIApp (#1481)[DuckInclude] attribute (#1487)DisposeWithException invocations to remove null conditional operator (#1493)runtime-id tag to metrics to improve Fargate support (#1496).vcxproj file for latest msbuild version (#1495)⛔ Due to an application-breaking bug, do NOT install this version if you run IIS in classic mode. This issue is fixed in version [1.26.3](https://gith
⛔ Due to an application-breaking bug, do NOT install this version if you run IIS in classic mode. This issue is fixed in version 1.26.3. Users of IIS in integrated mode are not affected.
⚠ Note: With this release, TracingHttpModule is automatically loaded into ASP.NET applications. If you were adding it manually from your web.config file, make sure to remove the relevant part.
DD_LOGS_INJECTION) with Serilog (#1435, #1450)TracingHttpModule (#1280)⛔ Due to an application-breaking bug, do NOT install this version if you run IIS in classic mode. This issue is fixed in version [1.26.3](https://gith
⛔ Due to an application-breaking bug, do NOT install this version if you run IIS in classic mode. This issue is fixed in version 1.26.3. Users of IIS in integrated mode are not affected.
TryDuckCast methods (#1422)⛔ Due to an application-breaking bug, do NOT install this version if you run IIS in classic mode. This issue is fixed in version [1.26.3](https://gith
⛔ Due to an application-breaking bug, do NOT install this version if you run IIS in classic mode. This issue is fixed in version 1.26.3. Users of IIS in integrated mode are not affected.
DD_TRACE_HEADER_TAGS to decorate web server spans based on response headers (#1301)Thread.Sleep with Task.Delay in dogstatsd (#1326, #1344)LICENSE-3rdparty.csv file (#1319)Runtime metrics are publicly available. They can be enabled by setting the DD_RUNTIME_METRICS_ENABLED environment variable to 1. For more information:
Runtime metrics are publicly available. They can be enabled by setting the DD_RUNTIME_METRICS_ENABLED environment variable to 1. For more information: https://docs.datadoghq.com/tracing/runtime_metrics/dotnet/
Changes in the trace buffering logic (#1151) :
Optimizations in the native profiler (#1224, #1217, #1215)
Duck-typing: rename typing cast methods to better reflect the intent (#1220), and add a DuckIgnore attribute (#1257)
Disable log rate limit when debug logging is enabled (#1239)
CallTarget instrumentation:
Various changes to CI integration (#1242, #1247, #1251, #1244)
BadImageFormatException errors when loading assemblies into different load contextsFindMemberRef when the signature is empty (#1259)Add support for automatic instrumentation of the synchronous HttpClient.Send() API available in .NET 5.0.
HttpClient.Send() API available in .NET 5.0. (#1162)aspnet.area tag to requests when instrumenting using ASP.NET MVC and WebApi2 integration (#1183)DD_TRACE_LOGGING_RATE. Setting DD_TRACE_LOGGING_RATE=0 disables log rate limiting.Tracer instances (#1169)test.traits format following the CiApp specs. (#1221)aspnet.area tag (#1183)Add new integration for the WebRequest.GetRequestStream API. This enables instrumentation of POST requests for the WebRequest integration
WebRequest.GetRequestStream API. This enables instrumentation of POST requests for the WebRequest integration (#1106)DD_TRACE_SERVICE_MAPPING to override the service name for automatic instrumentation representing an external service. By default, external services are assigned the service name <application_name>-<integration>, such as my-application-http-client and my-application-mongodb. This setting configures the entire final service name (#1142)
DD_TRACE_SERVICE_MAPPING=mysql:main-mysql-db renames my-application-mysql service to main-mysql-dbDD_TRACE_DEBUG set (#1178)WinHttpHandler CallTarget instrumentation (#1170)ActiveScope restore for CallTarget async integrations (#1134)Datadog.Trace.Minimal.sln (#1159)Add configuration for customising span service names (DD_TRACE_SERVICE_MAPPING)
Automatic instrumentation for the RabbitMQ.Client library v3.6.9+
RabbitMQ.Client library v3.6.9+ (#1081)DD_HTTP_CLIENT_ERROR_STATUSES to set ranges of status codes that should trigger HTTP client spans to be marked as errors. The default value is 400-499 (#1123)
DD_HTTP_CLIENT_ERROR_STATUSES=400-499,500DD_HTTP_SERVER_ERROR_STATUSES to set ranges of status codes that should trigger HTTP server spans to be marked as errors. The default value is 500-599 (#1123)
DD_HTTP_SERVER_ERROR_STATUSES=404,500-599DD_API_KEY is not set (#1109)StringBuilderCache (#1103)Automatic instrumentation for the RabbitMQ.Client library
RabbitMQ.Client libraryAdd automatic instrumentation for WebRequest.GetResponse() calls that reference System 2.0.0.0
"_dd.measured" metric to spans (#1066)DD_TRACE_QUEUE_SIZE to set the size of the trace buffer between flushes (#1033)
DD_TRACE_QUEUE_SIZE=2000DD_TRACE_ADONET_EXCLUDED_TYPES to exclude instrumentation from specified AdoNet types (#1076)
DD_TRACE_ADONET_EXCLUDED_TYPES=System.Data.SqlClient.SqlCommandUpdate Serilog automatic logs injection to use valid C# identifiers as message property names
dotnet-tracer-managed-*.log (#1011)dotnet-tracer-native.log (#1025)DD_TRACE_LOG_DIRECTORY environment variable to take precedence over DD_TRACE_LOG_PATH (#1025)System.Data 2.0.0.0 (#1000)Microsoft.Data.SqlClient.SqlCommand (#998)NpgsqlCommand.ExecuteScalarAsync more resilient against future changes (#997)net461 target to Azure Service Fabric integration (#1017)NetCoreAssemblyLoadFailureOlderNuGet test on .NET Core 2.1 (#1022)Update HttpMessageHandler, WebRequest, and AdoNet integrations to run on .NET 5
System.IO.FileLoadException: Could not load file or assembly 'Datadog.Trace, Version=1.X.X.X Culture=neutral, PublicKeyToken=def86d061d0d2eeb' when 1) combining manual and automatic instrumentation on .NET Core and 2) using a newer version of the Windows MSI or Linux .NET Tracer package than the NuGet package (#999)One column per quarter.