Releases: open-telemetry/opentelemetry-dotnet-instrumentation
v1.14.0
1.14.0
Added
- Add
-NoResetswitch parameter to skip service restart in PowerShell registration functions. - Support for
NLoglogs instrumentation for versions5.*and6.*on .NET using duck typing for zero-config auto-injection. - Support for file-based configuration of the IL rewrite for SqlClient instrumentation setting
- Add support for
StackExchange.Redisfor applications targeting .NET Framework. - Automatically set the
service.instance.idresource attribute if not provided. - Support for CoreWCF.Primitives traces instrumentation for versions
1.8.0+. - Support for
temporality_preferencein file-based configuration for Console Metric Exporter. - Enable ASLR, CET and CFG for native profiler libraries on Windows.
- Enable compiler flags to harden native profiler libraries on macOS and Linux.
- Support for MongoDB.Driver traces instrumentation for versions
3.5.0+.
Changed
-NoResetparameter inUnregister-OpenTelemetryForIISchanged from[bool]to[switch]. Use-NoResetinstead of-NoReset $true. Note:-NoReset $truestill works, but-NoReset $falsewill not do what you expect. You should omit the parameter for the expected behavior.
Dependency updates
- Updated Core components:
1.15.0. - Following packages updated
OpenTelemetry.Instrumentation.GrpcNetClientfrom1.14.0-beta.1to1.15.0-beta.1,OpenTelemetry.Instrumentation.Processfrom1.14.0-beta.2to1.15.0-beta.1,OpenTelemetry.Instrumentation.Runtimefrom1.14.0to1.15.0,OpenTelemetry.Instrumentation.Quartzfrom1.14.0-beta.2to1.15.0-beta.1,OpenTelemetry.Instrumentation.SqlClientfrom1.14.0-rc.1to1.15.0-rc.1,OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.14.0-beta.1to1.15.0-beta.1,OpenTelemetry.Instrumentation.Wcffrom1.14.0-beta.1to1.15.0-beta.1,OpenTelemetry.Resources.Azurefrom1.14.0-beta.1to1.15.0-beta.1,OpenTelemetry.Resources.Containerfrom1.14.0-beta.1to1.15.0-beta.1,OpenTelemetry.Resources.Hostfrom1.14.0-beta.1to1.15.0-beta.1,OpenTelemetry.Resources.OperatingSystemfrom1.14.0-beta.1to1.15.0-beta.1,OpenTelemetry.Resources.Processfrom1.14.0-beta.1to1.15.0-beta.1,OpenTelemetry.Resources.ProcessRuntimefrom1.14.0-beta.1to1.15.0-beta.1.
- .NET only, following packages updated
OpenTelemetry.Instrumentation.AspNetCorefrom1.14.0to1.15.0,OpenTelemetry.Instrumentation.EntityFrameworkCorefrom1.14.0-beta.2to1.15.0-beta.1.
- .NET Framework only, following packages updated
OpenTelemetry.Instrumentation.AspNetfrom1.14.0-rc.1to1.15.0,Microsoft.Bcl.AsyncInterfacesfrom10.0.0to10.0.2,Microsoft.Extensions.Configurationfrom10.0.0to10.0.2,Microsoft.Extensions.Configuration.Abstractionsfrom10.0.0to10.0.2,Microsoft.Extensions.Configuration.Binderfrom10.0.0to10.0.2,Microsoft.Extensions.DependencyInjectionfrom10.0.0to10.0.2,Microsoft.Extensions.DependencyInjection.Abstractionsfrom10.0.0to10.0.2,Microsoft.Extensions.Diagnostics.Abstractionsfrom10.0.0to10.0.2,Microsoft.Extensions.Loggingfrom10.0.0to10.0.2,Microsoft.Extensions.Logging.Abstractionsfrom10.0.0to10.0.2,Microsoft.Extensions.Logging.Configurationfrom10.0.0to10.0.2,Microsoft.Extensions.Optionsfrom10.0.0to10.0.2,Microsoft.Extensions.Options.ConfigurationExtensionsfrom10.0.0to10.0.2,Microsoft.Extensions.Primitivesfrom10.0.0to10.0.2,System.Diagnostics.DiagnosticSourcefrom10.0.0to10.0.2,System.IO.Pipelinesfrom10.0.0to10.0.2,System.Text.Encodings.Webfrom10.0.0to10.0.2,System.Text.Jsonfrom10.0.0to10.0.2.
Deprecated
- Deprecate support for
OpenTracing. - Deprecate support for Zipkin exporter. Use OTLP exporter instead.
Fixed
- Fixed configuration based instrumentation for generic classes and methods.
v1.13.0
1.13.0
This release include all changes from 1.13.0-beta.1
release.
Added
- Support for .NET 10.
- Support for ASP.NET Core 10 metrics.
- Support for ASP.NET Core 10 Blazor traces from
Microsoft.AspNetCore.ComponentsandMicrosoft.AspNetCore.Components.Server.Circuits. - WCF Client support for
System.ServiceModel.Primitives10.0.*on .NET 10. - Experimental support for file-based configuration.
- Experimental support for configuration based instrumentation.
- IL rewrite for SqlCommand on .NET Framework to ensure
CommandTextis available for SqlClient instrumentation. This is disabled by default and can be enabled via theOTEL_DOTNET_AUTO_SQLCLIENT_NETFX_ILREWRITE_ENABLEDenvironment variable.
Changed
- Changed minimal supported version of
Microsoft.Extensions.LoggingforILOGGERinstrumentation from9.0.0to8.0.0. - Setting
DOTNET_STARTUP_HOOKSis now optional if the .NET CLR profiler is configured. If it is not set, the profiler looks for the startup hooks assembly and injects the configuration into the application.
Dependency updates
-
Updated Core components:
1.14.0. -
Following packages updated
OpenTelemetry.Instrumentation.GrpcNetClientfrom1.12.0-beta.1to1.14.0-beta.1,OpenTelemetry.Instrumentation.Httpfrom1.12.0to1.14.0,OpenTelemetry.Instrumentation.Processfrom1.12.0-beta.1to1.14.0-beta.2,OpenTelemetry.Instrumentation.Quartzfrom1.12.0-beta.1to1.14.0-beta.2,OpenTelemetry.Instrumentation.Runtimefrom1.12.0to1.14.0,OpenTelemetry.Instrumentation.SqlClientfrom1.12.0-beta.2to1.14.0-beta.1,OpenTelemetry.Instrumentation.Wcffrom1.12.0-beta.1to1.14.0-beta.1,OpenTelemetry.Resources.Azurefrom1.12.0-beta.1to1.14.0-beta.1,OpenTelemetry.Resources.Hostfrom1.12.0-beta.1to1.14.0-beta.1,OpenTelemetry.Resources.OperatingSystemfrom1.12.0-beta.1to1.14.0-beta.1,OpenTelemetry.Resources.Processfrom1.12.0-beta.1to1.14.0-beta.1,OpenTelemetry.Resources.ProcessRuntimefrom1.12.0-beta.1to1.14.0-beta.1.
-
.NET only, following packages updated
OpenTelemetry.Instrumentation.AspNetCorefrom1.12.0to1.14.0,OpenTelemetry.Instrumentation.EntityFrameworkCorefrom1.12.0-beta.2to1.14.0-beta.2,OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.12.0-beta.2to1.14.0-beta.1,OpenTelemetry.Resources.Containerfrom1.12.0-beta.1to1.14.0-beta.1,System.Diagnostics.DiagnosticSourcefrom9.0.0to10.0.0.
-
.NET Framework only, following packages updated
Microsoft.Bcl.AsyncInterfacesfrom9.0.8to10.0.0,Microsoft.Extensions.Configurationfrom9.0.8to10.0.0,Microsoft.Extensions.Configuration.Abstractionsfrom9.0.8to10.0.0,Microsoft.Extensions.Configuration.Binderfrom9.0.8to10.0.0,Microsoft.Extensions.DependencyInjectionfrom9.0.8to10.0.0,Microsoft.Extensions.DependencyInjection.Abstractionsfrom9.0.8to10.0.0,Microsoft.Extensions.Diagnostics.Abstractionsfrom9.0.8to10.0.0,Microsoft.Extensions.Loggingfrom9.0.8to10.0.0,Microsoft.Extensions.Logging.Abstractionsfrom9.0.8to10.0.0,Microsoft.Extensions.Logging.Configurationfrom9.0.8to10.0.0,Microsoft.Extensions.Optionsfrom9.0.8to10.0.0,Microsoft.Extensions.Options.ConfigurationExtensionsfrom9.0.8to10.0.0,Microsoft.Extensions.Primitivesfrom9.0.8to10.0.0,OpenTelemetry.Instrumentation.AspNetfrom1.12.0-beta.1to1.14.0-rc.1,System.Diagnostics.DiagnosticSourcefrom9.0.8to10.0.0,System.IO.Pipelinesfrom9.0.8to10.0.0,System.Text.Encodings.Webfrom9.0.8to10.0.0,System.Text.Jsonfrom9.0.8to10.0.0.
Dependencies on .NET Framework
When OpenTelemetry .NET AutoInstrumentation is compiled for .NET Framework, it uses the net462 Target Framework Moniker (TFM). As a result, the ZIP archive deployment contained dependency assemblies targeted for .NET Framework 4.6.2. Some of these assemblies were not designed to be used with later versions of .NET Framework.
Now, when the OpenTelemetry ZIP archive is built, dependency assemblies are included for all supported .NET Framework versions. OpenTelemetry .NET AutoInstrumentation detects the .NET Framework version at install time and runtime, then loads the correct version of dependency assemblies.
Removed
- Dropped support for
OTEL_DOTNET_AUTO_SQLCLIENT_SET_DBSTATEMENT_FOR_TEXTandOTEL_DOTNET_AUTO_ENTITYFRAMEWORKCORE_SET_DBSTATEMENT_FOR_TEXT. These features are always enabled. Statements are sanitized. - Support for macOS Ventura 13 x64. macOS libraries are built and tested against macOS Sonoma 14 arm64.
Fixed
- Fixed deadlock occurring in Assembly Resolver. See #4269
for details. - Fixed rule engine check for .NET 9 to reflect longer support for STS channel.
- Fix bug in signal specific OTLP exporter variables:
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL,OTEL_EXPORTER_OTLP_METRICS_PROTOCOLandOTEL_EXPORTER_OTLP_LOGS_PROTOCOL. See #4593 for details.
v1.13.0-beta.1
Added
- Extend support for RabbitMQ.Client traces instrumentation for versions
5.*. - Experimental support for span-based sampling.
Changed
Dependency updates
- .NET only, following packages updated
OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.12.0-beta.1to1.12.0-beta.2.
- .NET Framework only, following packages updated
Microsoft.Bcl.AsyncInterfacesfrom9.0.6to9.0.8,Microsoft.Extensions.Configurationfrom9.0.6to9.0.8,Microsoft.Extensions.Configuration.Abstractions9.0.6to9.0.8,Microsoft.Extensions.Configuration.Binderfrom9.0.6to9.0.8,Microsoft.Extensions.DependencyInjectionfrom9.0.6to9.0.8,Microsoft.Extensions.DependencyInjection.Abstractionsfrom9.0.6to9.0.8,Microsoft.Extensions.Diagnostics.Abstractionsfrom9.0.6to9.0.8,Microsoft.Extensions.Loggingfrom9.0.6to9.0.8,Microsoft.Extensions.Logging.Abstractionsfrom9.0.6to9.0.8,Microsoft.Extensions.Logging.Configurationfrom9.0.6to9.0.8,Microsoft.Extensions.Optionsfrom9.0.6to9.0.8,Microsoft.Extensions.Options.ConfigurationExtensionsfrom9.0.6to9.0.8,Microsoft.Extensions.Primitivesfrom9.0.6to9.0.8,System.Diagnostics.DiagnosticSourcefrom9.0.6to9.0.8,System.IO.Pipelinesfrom9.0.6to9.0.8,System.Text.Encodings.Webupdate from9.0.2to9.0.8.System.Text.Jsonupdate from9.0.2to9.0.8.
v1.12.0
1.12.0
Added
- Support for
Npgsqlmetrics instrumentation for versions6.0.0+ on .NET. - In install script, Install-OpenTelemetryCore accepts optional argument RegisterAssembliesInGAC, which is true by default. When set to false, assemblies would not be installed in GAC.
- In install script, new function added: Register-AssembliesInGAC. It installs OpenTelemetry assemblies and dependencies in GAC.
Changed
- Musl-based (Alpine) libraries are compiled on Alpine v3.21.
otel-dotnet-auto-install.shnow optionally useswgetinstead ofcurl, improving compatibility withmcr.microsoft.com/dotnet/runtimeAlpine images.- Non-default application domains will be forced to load with LoaderOptimization.SingleDomain
Dependency updates
- Updated Core components:
1.12.0. - Following packages updated
OpenTelemetry.Instrumentation.GrpcNetClientfrom1.11.0-beta.2to1.12.0-beta.1OpenTelemetry.Instrumentation.Httpfrom1.11.1to1.12.0,OpenTelemetry.Instrumentation.Processfrom1.11.0-beta.2to1.12.0-beta.1,OpenTelemetry.Instrumentation.Quartzfrom1.11.0-beta.2to1.12.0-beta.1,OpenTelemetry.Instrumentation.Runtimefrom1.11.1to1.12.0,OpenTelemetry.Instrumentation.SqlClientfrom1.11.0-beta.2to1.12.0-beta.2,OpenTelemetry.Instrumentation.Wcffrom1.11.0-beta.2to1.12.0-beta.1,OpenTelemetry.Resources.Azurefrom1.11.0-beta.2to1.12.0-beta.1,OpenTelemetry.Resources.Containerfrom1.11.0-beta.2to1.12.0-beta.1,OpenTelemetry.Resources.Hostfrom1.11.0-beta.2to1.12.0-beta.1,OpenTelemetry.Resources.OperatingSystemfrom1.11.0-beta.2to1.12.0-beta.1,OpenTelemetry.Resources.Processfrom1.11.0-beta.2to1.12.0-beta.1,OpenTelemetry.Resources.ProcessRuntimefrom1.11.0-beta.2to1.12.0-beta.1.
- .NET only, following packages updated
OpenTelemetry.Instrumentation.AspNetCorefrom1.11.1to1.12.0,OpenTelemetry.Instrumentation.EntityFrameworkCorefrom1.11.0-beta.2to1.12.0-beta.2,OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.11.0-beta.2to1.12.0-beta.1.
- .NET Framework only, following packages updated
Microsoft.Bcl.AsyncInterfacesfrom9.0.2to9.0.6,Microsoft.Extensions.Configurationfrom9.0.2to9.0.6,Microsoft.Extensions.Configuration.Abstractionsfrom9.0.2to9.0.6,Microsoft.Extensions.Configuration.Binderfrom9.0.2to9.0.6,Microsoft.Extensions.DependencyInjectionfrom9.0.2to9.0.6,Microsoft.Extensions.DependencyInjection.Abstractionsfrom9.0.2to9.0.6,Microsoft.Extensions.Diagnostics.Abstractionsfrom9.0.2to9.0.6,Microsoft.Extensions.Loggingfrom9.0.2to9.0.6,Microsoft.Extensions.Logging.Abstractionsfrom9.0.2to9.0.6,Microsoft.Extensions.Logging.Configurationfrom9.0.2to9.0.6,Microsoft.Extensions.Optionsfrom9.0.2to9.0.6,Microsoft.Extensions.Options.ConfigurationExtensionsfrom9.0.2to9.0.6,Microsoft.Extensions.Primitivesfrom9.0.2to9.0.6,OpenTelemetry.Instrumentation.AspNetfrom1.11.0-beta.2to1.12.0-beta.1,System.Buffersfrom4.6.0to4.6.1,System.Diagnostics.DiagnosticSourcefrom9.0.2to9.0.6,System.IO.Pipelinesfrom9.0.2to9.0.6,System.Memoryfrom4.6.0to4.6.3,System.Numerics.Vectorsfrom4.6.0to4.6.1,System.Runtime.CompilerServices.Unsafefrom6.1.0to6.1.2,System.Threading.Tasks.Extensionsupdate from4.6.0to4.6.3,System.Text.Jsonupdate from9.0.2to9.0.6.System.ValueTuplefrom4.5.0to4.6.1.
v1.11.0
1.11.0
Changed
- Enhanced Kafka and RabbitMQ instrumentation now create spans at the start instead
of manual start time adjustments.
Dependency updates
- Updated Core components:
1.11.2. - Following packages updated
OpenTelemetry.Instrumentation.GrpcNetClientfrom1.11.0-beta.1to1.11.0-beta.2OpenTelemetry.Instrumentation.Httpfrom1.11.0to1.11.1,OpenTelemetry.Instrumentation.Processfrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Instrumentation.Quartzfrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Instrumentation.Runtimefrom1.11.0to1.11.1,OpenTelemetry.Instrumentation.SqlClientfrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Instrumentation.Wcffrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Resources.Azurefrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Resources.Containerfrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Resources.Hostfrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Resources.OperatingSystemfrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Resources.Processfrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Resources.ProcessRuntimefrom1.11.0-beta.1to1.11.0-beta.2.
- .NET only, following packages updated
OpenTelemetry.Instrumentation.AspNetCorefrom1.11.0to1.11.1,OpenTelemetry.Instrumentation.EntityFrameworkCorefrom1.11.0-beta.1to1.11.0-beta.2,OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.11.0-beta.1to1.11.0-beta.2.
- .NET Framework only, following packages updated
Microsoft.Bcl.AsyncInterfacesupdated from9.0.1to9.0.2,Microsoft.Extensions.Configurationupdated from9.0.1to9.0.2,Microsoft.Extensions.Configuration.Abstractionsupdated from9.0.1to9.0.2,Microsoft.Extensions.Configuration.Binderupdated from9.0.1to9.0.2,Microsoft.Extensions.DependencyInjectionupdated from9.0.1to9.0.2,Microsoft.Extensions.DependencyInjection.Abstractionsupdated from9.0.1to9.0.2,Microsoft.Extensions.Diagnostics.Abstractionsupdated from9.0.1to9.0.2,Microsoft.Extensions.Loggingupdated from9.0.1to9.0.2,Microsoft.Extensions.Logging.Abstractionsupdated from9.0.1to9.0.2,Microsoft.Extensions.Logging.Configurationupdated from9.0.1to9.0.2,Microsoft.Extensions.Optionsupdated from9.0.1to9.0.2,Microsoft.Extensions.Options.ConfigurationExtensionsupdated from9.0.1to9.0.2,Microsoft.Extensions.Primitivesupdated from9.0.1to9.0.2,OpenTelemetry.Instrumentation.AspNetfrom1.11.0-beta.1to1.11.0-beta.2,System.Diagnostics.DiagnosticSourceupdated from9.0.1to9.0.2,System.IO.Pipelinesupdated from9.0.1to9.0.2,System.Text.Encodings.Webupdate from9.0.1to9.0.2,System.Text.Jsonupdate from9.0.1to9.0.2.
Fixed
v1.10.0
1.10.0
This release include all changes from 1.10.0-beta.1 release.
Changed
Dependency updates
- Updated Core components:
1.11.1. - Following packages updated
OpenTelemetry.Instrumentation.GrpcNetClientfrom1.10.0-beta.1to1.11.0-beta.1OpenTelemetry.Instrumentation.Httpfrom1.10.0to1.11.0,OpenTelemetry.Instrumentation.Processfrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Instrumentation.Quartzfrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Instrumentation.Runtimefrom1.10.0to1.11.0,OpenTelemetry.Instrumentation.SqlClientfrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Instrumentation.Wcffrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Resources.Azurefrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Resources.Containerfrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Resources.Hostfrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Resources.OperatingSystemfrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Resources.Processfrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Resources.ProcessRuntimefrom1.10.0-beta.1to1.11.0-beta.1.
- .NET only, following packages updated
OpenTelemetry.Instrumentation.AspNetCorefrom1.10.1to1.11.0,OpenTelemetry.Instrumentation.EntityFrameworkCorefrom1.10.0-beta.1to1.11.0-beta.1,OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.10.0-beta.1to1.11.0-beta.1.
- .NET Framework only, following packages updated
Microsoft.Bcl.AsyncInterfacesupdated from9.0.0to9.0.1,Microsoft.Extensions.Configurationupdated from9.0.0to9.0.1,Microsoft.Extensions.Configuration.Abstractionsupdated from9.0.0to9.0.1,Microsoft.Extensions.Configuration.Binderupdated from9.0.0to9.0.1,Microsoft.Extensions.DependencyInjectionupdated from9.0.0to9.0.1,Microsoft.Extensions.DependencyInjection.Abstractions
updated from9.0.0to9.0.1,Microsoft.Extensions.Diagnostics.Abstractionsupdated from9.0.0to9.0.1,Microsoft.Extensions.Loggingupdated from9.0.0to9.0.1,Microsoft.Extensions.Logging.Abstractionsupdated from9.0.0to9.0.1,Microsoft.Extensions.Logging.Configurationupdated from9.0.0to9.0.1,Microsoft.Extensions.Optionsupdated from9.0.0to9.0.1,Microsoft.Extensions.Options.ConfigurationExtensions
updated from9.0.0to9.0.1,Microsoft.Extensions.Primitivesupdated from9.0.0to9.0.1,OpenTelemetry.Instrumentation.AspNetfrom1.10.0-beta.1to1.11.0-beta.1,System.IO.Pipelinesupdated from9.0.0to9.0.1,System.Diagnostics.DiagnosticSourceupdated from9.0.0to9.0.1,System.Text.Encodings.Webupdate from9.0.0to9.0.1,System.Text.Jsonupdate from9.0.0to9.0.1,System.Threading.Tasks.Extensions"update from4.5.4to4.6.0.
Removed
Dependency removals
- Following packages removed
Google.Protobuf.
- .NET only, following packages removed
Grpc.Core.Api.Grpc.Net.Client.Grpc.Net.Common.dll.
v1.10.0-beta.1
1.10.0-beta.1
Added
- Support for .NET9.
- Support for RabbitMQ.Client traces instrumentation for versions
7.0.0+. - log4net OpenTelemetry appender for versions >=
2.0.13&& <4.0.0 - log4net trace context injection for versions >=
2.0.13&& <4.0.0. - Support for SqlClient metrics.
Changed
- Kafka and RabbitMQ 6 tags
otel.status_codeandotel.status_descriptionare replaced by native fieldsStatusandStatusDescription. - Changed minimal supported version of
Microsoft.Extensions.LoggingforILOGGERinstrumentation from8.0.0to9.0.0. - Glibc native libraries are compiled on Ubuntu v16.04.
- Changed
MongoDBtraces instrumentation to the bytecode version. It supportsMongoDB.Driver.Corefrom2.7.0andMongoDB.Driverfrom3.0.0.
Dependency updates
- Updated Core components:
1.10.0. - Following packages updated
Microsoft.Extensions.Configuration.Binderfrom8.0.2to9.0.0,Microsoft.Extensions.Logging.Configurationfrom8.0.0to9.0.0,OpenTelemetry.Exporter.Prometheus.HttpListenerfrom1.9.0-beta.2to1.10.0-beta.1,OpenTelemetry.Instrumentation.GrpcNetClientfrom1.9.0-beta.1to1.10.0-beta.1OpenTelemetry.Instrumentation.Httpfrom1.9.0to1.10.0,OpenTelemetry.Instrumentation.Processfrom0.5.0-beta.7to1.10.0-beta.1,OpenTelemetry.Instrumentation.Quartzfrom1.0.0-beta.3to1.10.0-beta.1,OpenTelemetry.Instrumentation.Runtimefrom1.9.0to1.10.0,OpenTelemetry.Instrumentation.SqlClientfrom1.9.0-beta.1to1.10.0-beta.1,OpenTelemetry.Instrumentation.Wcffrom1.0.0-rc.18to1.10.0-beta.1,OpenTelemetry.Resources.Azurefrom1.0.0-beta.9to1.10.0-beta.1,OpenTelemetry.Resources.Containerfrom1.0.0-beta.9to1.10.0-beta.1,OpenTelemetry.Resources.Hostfrom0.1.0-beta.3to1.10.0-beta.1,OpenTelemetry.Resources.OperatingSystemfrom0.1.0-alpha.4to1.10.0-beta.1,OpenTelemetry.Resources.Processfrom0.1.0-beta.3to1.10.0-beta.1,OpenTelemetry.Resources.ProcessRuntimefrom0.1.0-beta.2to1.10.0-beta.1.
- .NET only, following packages updated
OpenTelemetry.Instrumentation.AspNetCorefrom1.9.0to1.10.1,OpenTelemetry.Instrumentation.EntityFrameworkCorefrom1.0.0-beta.12to1.10.0-beta.1,OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.9.0-beta.1to1.10.0-beta.1,System.Diagnostics.DiagnosticSourcefrom8.0.0to9.0.0.
- .NET Framework only, following packages updated
Google.Protobufupdated from3.28.3to3.29.1,Microsoft.Bcl.AsyncInterfacesfrom8.0.0to9.0.0,Microsoft.Extensions.Configurationfrom9.0.0to9.0.0,Microsoft.Extensions.Configuration.Abstractionsfrom8.0.0to9.0.0,Microsoft.Extensions.DependencyInjectionfrom8.0.1to9.0.0,Microsoft.Extensions.DependencyInjection.Abstractionsfrom8.0.2to9.0.0,Microsoft.Extensions.Loggingfrom8.0.0to9.0.0,Microsoft.Extensions.Logging.Abstractionsfrom8.0.1to9.0.0,Microsoft.Extensions.Optionsfrom8.0.2to9.0.0,Microsoft.Extensions.Options.ConfigurationExtensionsfrom8.0.0to9.0.0,Microsoft.Extensions.Primitivesfrom8.0.0to9.0.0,OpenTelemetry.Instrumentation.AspNetfrom1.9.0-beta.1to1.10.0-beta.1,System.Buffersfrom4.5.5to4.6.0,System.Memoryfrom4.5.5to4.6.0,System.Numerics.Vectorsfrom4.5.0to4.6.0,System.Diagnostics.DiagnosticSourcefrom8.0.1to9.0.0,System.Runtime.CompilerServices.Unsafefrom6.0.0to6.1.0,System.Text.Encodings.Webfrom8.0.0to9.0.0,System.Text.Jsonfrom8.0.5to9.0.0.
Removed
- Support for .NET 6 and .NET 7. Both framework reached end of support.
- Support for macOS Monterey 12 x64. macOs libraries are built and tested against macOS Ventura 13 x64.
MongoDB.Driver.Core.Extensions.DiagnosticSourcesdependency is removed.
v1.9.0
1.9.0
Changed
- Musl-based (Alpine) libraries are compiled on Alpine v3.20.
Dependency updates
- Following packages updated
OpenTelemetry.Instrumentation.Wcffrom1.0.0-rc.17to1.0.0-rc.18,
- .NET Framework only, following packages updated
Google.Protobufupdated from3.28.2to3.28.3,Microsoft.Extensions.DependencyInjectionfrom8.0.0to8.0.1,Microsoft.Extensions.DependencyInjection.Abstractionsfrom8.0.1to8.0.2,System.Diagnostics.DiagnosticSourcefrom8.0.0to8.0.1,System.Text.Jsonfrom8.0.4to8.0.5.
Deprecated
- Support for macOS Monterey 12 x64.
All further releases will be supporting macOS Ventura 13 x64
and newer.
Removed
- Drop support for following environment variables:
OTEL_DOTNET_AUTO_TRACES_CONSOLE_EXPORTER_ENABLED,
OTEL_DOTNET_AUTO_METRICS_CONSOLE_EXPORTER_ENABLED, and
OTEL_DOTNET_AUTO_LOGS_CONSOLE_EXPORTER_ENABLED.
Instead, useconsoleas one of the values for the following environment variables:
OTEL_TRACES_EXPORTER
OTEL_METRICS_EXPORTER
OTEL_LOGS_EXPORTER.
v1.8.0
1.8.0
Added
- Support for Operating System resource detector.
- Support for RabbitMQ.Client traces instrumentation for versions
6.0.0-6.*.* - Support for NServiceBus 9.1+ metrics instrumentations.
- Added support for OTEL_TRACES_EXPORTER, OTEL_METRICS_EXPORTER, OTEL_LOGS_EXPORTER to handle comma-separated list.
- The environment variables
OTEL_TRACES_EXPORTER,OTEL_METRICS_EXPORTER, andOTEL_LOGS_EXPORTERnow support configuring console exporters for traces, metrics, and logs, respectively. - Support signal specific OTLP exporter variables (See docs):
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,OTEL_EXPORTER_OTLP_TRACES_HEADERS,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT,OTEL_EXPORTER_OTLP_TRACES_PROTOCOL,OTEL_EXPORTER_OTLP_METRICS_ENDPOINT,OTEL_EXPORTER_OTLP_METRICS_HEADERS,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT,OTEL_EXPORTER_OTLP_METRICS_PROTOCOL,OTEL_EXPORTER_OTLP_LOGS_ENDPOINT,OTEL_EXPORTER_OTLP_LOGS_HEADERS,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT,OTEL_EXPORTER_OTLP_LOGS_PROTOCOL.
- Support for air-gapped installations through
DOWNLOAD_DIRorLOCAL_PATHarguments tootel-dotnet-auto-install.sh. - Added
OTEL_DOTNET_AUTO_LOGGERto select preferred sink for AutoInstrumentation diagnostic logs. - Issue a warning before publish if auto-instrumentation NuGet package is referenced and runtime identifier is not specified.
Changed
- More restrictive handling of invalid values in comma-separated lists.
When invalid value is recognized (unsupported option, supported option
with leading or trailing whitespaces, empty value, duplicate)
warning is logged, and ifFailFastis enabled, exception is thrown. - Referencing
OpenTelemetry.AutoInstrumentationmanually no longer visibly injects
instrumentation scripts into projects in an editor's solution window.
Dependency updates
- Following packages updated
MongoDB.Driver.Core.Extensions.DiagnosticSourcesfrom1.4.0to1.5.0,OpenTelemetry.Exporter.Prometheus.HttpListenerfrom1.9.0-beta.1to1.9.0-beta.2,OpenTelemetry.Instrumentation.Processfrom0.5.0-beta.6to0.5.0-beta.7,OpenTelemetry.Resources.Azurefrom1.0.0-beta.8to1.0.0-beta.9,OpenTelemetry.Resources.Hostfrom0.1.0-beta.2to0.1.0-beta.3,OpenTelemetry.Resources.Processfrom0.1.0-beta.2to0.1.0-beta.3,OpenTelemetry.Shims.OpenTracingfrom1.9.0-beta.1to1.9.0-beta.2.
- .NET only, following packages updated
OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.0.0-rc9.15to1.9.0-beta.1.
- .NET Framework only, following packages updated
Google.Protobufupdated from3.27.1to3.28.2,Grpc.Core.Apifrom2.63.0to2.66.0,Microsoft.Extensions.Configuration.Binderfrom8.0.1to8.0.2,System.Text.Jsonfrom8.0.3to8.0.4.
Deprecated
- Environment variables
OTEL_DOTNET_AUTO_TRACES_CONSOLE_EXPORTER_ENABLED,OTEL_DOTNET_AUTO_METRICS_CONSOLE_EXPORTER_ENABLED, andOTEL_DOTNET_AUTO_LOGS_CONSOLE_EXPORTER_ENABLEDare now marked as deprecated.
Removed
- Support for macOS Big Sur 11 x64. macOs libraries are built and tested against macOS Monterey 12 x64.
- Support for
MongoDB.Driver.Core< 2.28.0. - Support for
StackExchange.Redis< 2.6.122.
Fixed
- Initialize WCF instrumentation only when necessary (#3650)
v1.7.0
1.7.0
- Core components:
1.9.0 System.Diagnostics.DiagnosticSource:8.0.0
Added
- Support for capturing HTTP headers for following traces instrumentations:
- ASP.NET, configurable by
OTEL_DOTNET_AUTO_TRACES_ASPNET_INSTRUMENTATION_CAPTURE_REQUEST_HEADERSandOTEL_DOTNET_AUTO_TRACES_ASPNET_INSTRUMENTATION_CAPTURE_RESPONSE_HEADERS, - ASP.NET Core, configurable by
OTEL_DOTNET_AUTO_TRACES_ASPNETCORE_INSTRUMENTATION_CAPTURE_REQUEST_HEADERSandOTEL_DOTNET_AUTO_TRACES_ASPNETCORE_INSTRUMENTATION_CAPTURE_RESPONSE_HEADERS, - HTTP Client, configurable by
OTEL_DOTNET_AUTO_TRACES_HTTP_INSTRUMENTATION_CAPTURE_REQUEST_HEADERSandOTEL_DOTNET_AUTO_TRACES_HTTP_INSTRUMENTATION_CAPTURE_RESPONSE_HEADERS.
- ASP.NET, configurable by
- Support for capturing gRPC metadata for Grpc.Net.Client traces instrumentation.
It can by configured byOTEL_DOTNET_AUTO_TRACES_GRPCNETCLIENT_INSTRUMENTATION_CAPTURE_REQUEST_METADATAandOTEL_DOTNET_AUTO_TRACES_GRPCNETCLIENT_INSTRUMENTATION_CAPTURE_RESPONSE_METADATA. - Support for Oracle.ManagedDataAccess.Core and Oracle.ManagedDataAccess traces instrumentation from 23.4.0 together with support for
OTEL_DOTNET_AUTO_ORACLEMDA_SET_DBSTATEMENT_FOR_TEXTenvironment variable. ARM64 platform is not supported. - Add support for NServiceBus 9.x metrics and traces instrumentations.
Changed
- Musl-based (Alpine) libraries are compiled on Alpine v3.19.
- Do not use message creation context as a parent for consumer spans for
Confluent.Kafkaclient instrumentation. See the issue for details. - Do not create consumer spans related to
PartitionEOFevents forConfluent.Kafkaclient instrumentation. - Following properties can be set before calling plugins:
OpenTelemetry.Instrumentation.AspNetCore.AspNetCoreTraceInstrumentationOptions.EnrichWithHttpRequest,OpenTelemetry.Instrumentation.AspNetCore.AspNetCoreTraceInstrumentationOptions.EnrichWithHttpResponse,OpenTelemetry.Instrumentation.AspNet.AspNetTraceInstrumentationOptions.EnrichWithHttpRequest,OpenTelemetry.Instrumentation.AspNet.AspNetTraceInstrumentationOptions.EnrichWithHttpResponse,OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientTraceInstrumentationOptions.EnrichWithHttpRequestMessage,OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientTraceInstrumentationOptions.EnrichWithHttpResponseMessage,OpenTelemetry.Instrumentation.Http.HttpClientTraceInstrumentationOptions.EnrichWithHttpRequestMessage,OpenTelemetry.Instrumentation.Http.HttpClientTraceInstrumentationOptions.EnrichWithHttpWebRequest,OpenTelemetry.Instrumentation.Http.HttpClientTraceInstrumentationOptions.EnrichWithHttpResponseMessage,OpenTelemetry.Instrumentation.Http.HttpClientTraceInstrumentationOptions.EnrichWithHttpWebResponse.
Dependency updates
- Updated Core components:
1.9.0. - Following packages updated
OpenTelemetry.Exporter.Prometheus.HttpListenerfrom1.8.0-rc.1to1.9.0-beta.1,OpenTelemetry.Instrumentation.GrpcNetClientfrom1.8.0-beta.1to1.9.0-beta.1,OpenTelemetry.Instrumentation.Httpfrom1.8.1to1.9.0,OpenTelemetry.Instrumentation.Processfrom0.5.0-beta.5to0.5.0-beta.6,OpenTelemetry.Instrumentation.Quartzfrom1.0.0-beta.2to1.0.0-beta.3,OpenTelemetry.Instrumentation.Runtimefrom1.8.0to1.9.0,OpenTelemetry.Instrumentation.SqlClientfrom1.8.0-beta.1to1.9.0-beta.1,OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.0.0-rc9.14to1.0.0-rc9.15,OpenTelemetry.Instrumentation.Wcffrom1.0.0-rc.16to1.0.0-rc.17,OpenTelemetry.Shims.OpenTracingfrom1.7.0-beta.1to1.9.0-beta.1,OpenTelemetry.Resources.Azurefrom1.0.0-beta.7to1.0.0-beta.8,OpenTelemetry.Resources.Hostfrom0.1.0-beta.1to0.1.0-beta.2.OpenTelemetry.Resources.Processfrom0.1.0-beta.1to0.1.0-beta.2.OpenTelemetry.Resources.ProcessRuntimefrom0.1.0-beta.1to0.1.0-beta.2.
- .NET only, following packages updated
OpenTelemetry.Instrumentation.AspNetCorefrom1.8.1to1.9.0,OpenTelemetry.Instrumentation.EntityFrameworkCorefrom1.0.0-beta.11to1.0.0-beta.12,OpenTelemetry.Resources.Containerfrom1.0.0-beta.7to1.0.0-beta.9.
- .NET Framework only, following packages updated
OpenTelemetry.Instrumentation.AspNetfrom1.8.0-beta.2to1.9.0-beta.1.
Deprecated
- Support for macOS Big Sur 11 x64. All further releases will be supporting macOS Monterey 12 x64 and newer.