Skip to content

v1.13.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 08:07
· 6 commits to main since this release
v1.13.0
e4de27f

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.Components and Microsoft.AspNetCore.Components.Server.Circuits.
  • WCF Client support for System.ServiceModel.Primitives 10.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 CommandText is available for SqlClient instrumentation. This is disabled by default and can be enabled via the OTEL_DOTNET_AUTO_SQLCLIENT_NETFX_ILREWRITE_ENABLED environment variable.

Changed

  • Changed minimal supported version of Microsoft.Extensions.Logging for ILOGGER instrumentation from 9.0.0 to 8.0.0.
  • Setting DOTNET_STARTUP_HOOKS is 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.GrpcNetClient from 1.12.0-beta.1 to 1.14.0-beta.1,
    • OpenTelemetry.Instrumentation.Http from 1.12.0 to 1.14.0,
    • OpenTelemetry.Instrumentation.Process from 1.12.0-beta.1 to 1.14.0-beta.2,
    • OpenTelemetry.Instrumentation.Quartz from 1.12.0-beta.1 to 1.14.0-beta.2,
    • OpenTelemetry.Instrumentation.Runtime from 1.12.0 to 1.14.0,
    • OpenTelemetry.Instrumentation.SqlClient from 1.12.0-beta.2 to 1.14.0-beta.1,
    • OpenTelemetry.Instrumentation.Wcf from 1.12.0-beta.1 to 1.14.0-beta.1,
    • OpenTelemetry.Resources.Azure from 1.12.0-beta.1 to 1.14.0-beta.1,
    • OpenTelemetry.Resources.Host from 1.12.0-beta.1 to 1.14.0-beta.1,
    • OpenTelemetry.Resources.OperatingSystem from 1.12.0-beta.1 to 1.14.0-beta.1,
    • OpenTelemetry.Resources.Process from 1.12.0-beta.1 to 1.14.0-beta.1,
    • OpenTelemetry.Resources.ProcessRuntime from 1.12.0-beta.1 to 1.14.0-beta.1.
  • .NET only, following packages updated

    • OpenTelemetry.Instrumentation.AspNetCore from 1.12.0 to 1.14.0,
    • OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.12.0-beta.2 to 1.14.0-beta.2,
    • OpenTelemetry.Instrumentation.StackExchangeRedis from 1.12.0-beta.2 to 1.14.0-beta.1,
    • OpenTelemetry.Resources.Container from 1.12.0-beta.1 to 1.14.0-beta.1,
    • System.Diagnostics.DiagnosticSource from 9.0.0 to 10.0.0.
  • .NET Framework only, following packages updated

    • Microsoft.Bcl.AsyncInterfaces from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Configuration from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Configuration.Abstractions from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Configuration.Binder from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.DependencyInjection from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.DependencyInjection.Abstractions from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Diagnostics.Abstractions from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Logging from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Logging.Abstractions from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Logging.Configuration from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Options from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Options.ConfigurationExtensions from 9.0.8 to 10.0.0,
    • Microsoft.Extensions.Primitives from 9.0.8 to 10.0.0,
    • OpenTelemetry.Instrumentation.AspNet from 1.12.0-beta.1 to 1.14.0-rc.1,
    • System.Diagnostics.DiagnosticSource from 9.0.8 to 10.0.0,
    • System.IO.Pipelines from 9.0.8 to 10.0.0,
    • System.Text.Encodings.Web from 9.0.8 to 10.0.0,
    • System.Text.Json from 9.0.8 to 10.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_TEXT and OTEL_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_PROTOCOL and OTEL_EXPORTER_OTLP_LOGS_PROTOCOL. See #4593 for details.