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.