Skip to content

Releases: open-telemetry/opentelemetry-dotnet-instrumentation

v1.14.0

22 Jan 10:55
Immutable release. Only release title and notes can be modified.
v1.14.0
b18079b

Choose a tag to compare

1.14.0

Added

  • Add -NoReset switch parameter to skip service restart in PowerShell registration functions.
  • Support for NLog logs instrumentation for versions 5.* and 6.* 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.Redis for applications targeting .NET Framework.
  • Automatically set the service.instance.id resource attribute if not provided.
  • Support for CoreWCF.Primitives traces instrumentation for versions 1.8.0+.
  • Support for temporality_preference in 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

  • -NoReset parameter in Unregister-OpenTelemetryForIIS changed from [bool] to [switch]. Use -NoReset instead of -NoReset $true. Note: -NoReset $true still works, but -NoReset $false will 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.GrpcNetClient from 1.14.0-beta.1 to 1.15.0-beta.1,
    • OpenTelemetry.Instrumentation.Process from 1.14.0-beta.2 to 1.15.0-beta.1,
    • OpenTelemetry.Instrumentation.Runtime from 1.14.0 to 1.15.0,
    • OpenTelemetry.Instrumentation.Quartz from 1.14.0-beta.2 to 1.15.0-beta.1,
    • OpenTelemetry.Instrumentation.SqlClient from 1.14.0-rc.1 to 1.15.0-rc.1,
    • OpenTelemetry.Instrumentation.StackExchangeRedis from 1.14.0-beta.1 to 1.15.0-beta.1,
    • OpenTelemetry.Instrumentation.Wcf from 1.14.0-beta.1 to 1.15.0-beta.1,
    • OpenTelemetry.Resources.Azure from 1.14.0-beta.1 to 1.15.0-beta.1,
    • OpenTelemetry.Resources.Container from 1.14.0-beta.1 to 1.15.0-beta.1,
    • OpenTelemetry.Resources.Host from 1.14.0-beta.1 to 1.15.0-beta.1,
    • OpenTelemetry.Resources.OperatingSystem from 1.14.0-beta.1 to 1.15.0-beta.1,
    • OpenTelemetry.Resources.Process from 1.14.0-beta.1 to 1.15.0-beta.1,
    • OpenTelemetry.Resources.ProcessRuntime from 1.14.0-beta.1 to 1.15.0-beta.1.
  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.AspNetCore from 1.14.0 to 1.15.0,
    • OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.14.0-beta.2 to 1.15.0-beta.1.
  • .NET Framework only, following packages updated
    • OpenTelemetry.Instrumentation.AspNet from 1.14.0-rc.1 to 1.15.0,
    • Microsoft.Bcl.AsyncInterfaces from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Configuration from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Configuration.Abstractions from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Configuration.Binder from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.DependencyInjection from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.DependencyInjection.Abstractions from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Diagnostics.Abstractions from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Logging from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Logging.Abstractions from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Logging.Configuration from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Options from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Options.ConfigurationExtensions from 10.0.0 to 10.0.2,
    • Microsoft.Extensions.Primitives from 10.0.0 to 10.0.2,
    • System.Diagnostics.DiagnosticSource from 10.0.0 to 10.0.2,
    • System.IO.Pipelines from 10.0.0 to 10.0.2,
    • System.Text.Encodings.Web from 10.0.0 to 10.0.2,
    • System.Text.Json from 10.0.0 to 10.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

25 Nov 08:07
Immutable release. Only release title and notes can be modified.
v1.13.0
e4de27f

Choose a tag to compare

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.

v1.13.0-beta.1

02 Sep 12:08
v1.13.0-beta.1
9296b0a

Choose a tag to compare

v1.13.0-beta.1 Pre-release
Pre-release

Added

Changed

Dependency updates

  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.StackExchangeRedis from 1.12.0-beta.1 to 1.12.0-beta.2.
  • .NET Framework only, following packages updated
    • Microsoft.Bcl.AsyncInterfaces from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Configuration from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Configuration.Abstractions 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Configuration.Binder from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.DependencyInjection from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.DependencyInjection.Abstractions from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Diagnostics.Abstractions from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Logging from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Logging.Abstractions from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Logging.Configuration from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Options from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Options.ConfigurationExtensions from 9.0.6 to 9.0.8,
    • Microsoft.Extensions.Primitives from 9.0.6 to 9.0.8,
    • System.Diagnostics.DiagnosticSource from 9.0.6 to 9.0.8,
    • System.IO.Pipelines from 9.0.6 to 9.0.8,
    • System.Text.Encodings.Web update from 9.0.2 to 9.0.8.
    • System.Text.Json update from 9.0.2 to 9.0.8.

v1.12.0

15 Jul 09:20
v1.12.0
6fbf15a

Choose a tag to compare

1.12.0

Added

  • Support for Npgsql metrics instrumentation for versions 6.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.sh now optionally uses wget instead of curl, improving compatibility with mcr.microsoft.com/dotnet/runtime Alpine 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.GrpcNetClient from 1.11.0-beta.2 to 1.12.0-beta.1
    • OpenTelemetry.Instrumentation.Http from 1.11.1 to 1.12.0,
    • OpenTelemetry.Instrumentation.Process from 1.11.0-beta.2 to 1.12.0-beta.1,
    • OpenTelemetry.Instrumentation.Quartz from 1.11.0-beta.2 to 1.12.0-beta.1,
    • OpenTelemetry.Instrumentation.Runtime from 1.11.1 to 1.12.0,
    • OpenTelemetry.Instrumentation.SqlClient from 1.11.0-beta.2 to 1.12.0-beta.2,
    • OpenTelemetry.Instrumentation.Wcf from 1.11.0-beta.2 to 1.12.0-beta.1,
    • OpenTelemetry.Resources.Azure from 1.11.0-beta.2 to 1.12.0-beta.1,
    • OpenTelemetry.Resources.Container from 1.11.0-beta.2 to 1.12.0-beta.1,
    • OpenTelemetry.Resources.Host from 1.11.0-beta.2 to 1.12.0-beta.1,
    • OpenTelemetry.Resources.OperatingSystem from 1.11.0-beta.2 to 1.12.0-beta.1,
    • OpenTelemetry.Resources.Process from 1.11.0-beta.2 to 1.12.0-beta.1,
    • OpenTelemetry.Resources.ProcessRuntime from 1.11.0-beta.2 to 1.12.0-beta.1.
  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.AspNetCore from 1.11.1 to 1.12.0,
    • OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.11.0-beta.2 to 1.12.0-beta.2,
    • OpenTelemetry.Instrumentation.StackExchangeRedis from 1.11.0-beta.2 to 1.12.0-beta.1.
  • .NET Framework only, following packages updated
    • Microsoft.Bcl.AsyncInterfaces from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Configuration from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Configuration.Abstractions from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Configuration.Binder from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.DependencyInjection from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.DependencyInjection.Abstractions from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Diagnostics.Abstractions from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Logging from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Logging.Abstractions from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Logging.Configuration from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Options from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Options.ConfigurationExtensions from 9.0.2 to 9.0.6,
    • Microsoft.Extensions.Primitives from 9.0.2 to 9.0.6,
    • OpenTelemetry.Instrumentation.AspNet from 1.11.0-beta.2 to 1.12.0-beta.1,
    • System.Buffers from 4.6.0 to 4.6.1,
    • System.Diagnostics.DiagnosticSource from 9.0.2 to 9.0.6,
    • System.IO.Pipelines from 9.0.2 to 9.0.6,
    • System.Memory from 4.6.0 to 4.6.3,
    • System.Numerics.Vectors from 4.6.0 to 4.6.1,
    • System.Runtime.CompilerServices.Unsafe from 6.1.0 to 6.1.2,
    • System.Threading.Tasks.Extensions update from 4.6.0 to 4.6.3,
    • System.Text.Json update from 9.0.2 to 9.0.6.
    • System.ValueTuple from 4.5.0 to 4.6.1.

v1.11.0

06 Mar 12:03
v1.11.0
52f0164

Choose a tag to compare

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.GrpcNetClient from 1.11.0-beta.1 to 1.11.0-beta.2
    • OpenTelemetry.Instrumentation.Http from 1.11.0 to 1.11.1,
    • OpenTelemetry.Instrumentation.Process from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Instrumentation.Quartz from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Instrumentation.Runtime from 1.11.0 to 1.11.1,
    • OpenTelemetry.Instrumentation.SqlClient from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Instrumentation.Wcf from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Resources.Azure from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Resources.Container from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Resources.Host from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Resources.OperatingSystem from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Resources.Process from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Resources.ProcessRuntime from 1.11.0-beta.1 to 1.11.0-beta.2.
  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.AspNetCore from 1.11.0 to 1.11.1,
    • OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.11.0-beta.1 to 1.11.0-beta.2,
    • OpenTelemetry.Instrumentation.StackExchangeRedis from 1.11.0-beta.1 to 1.11.0-beta.2.
  • .NET Framework only, following packages updated
    • Microsoft.Bcl.AsyncInterfaces updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Configuration updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Configuration.Abstractions updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Configuration.Binder updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.DependencyInjection updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.DependencyInjection.Abstractions updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Diagnostics.Abstractions updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Logging updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Logging.Abstractions updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Logging.Configuration updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Options updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Options.ConfigurationExtensions updated from 9.0.1 to 9.0.2,
    • Microsoft.Extensions.Primitives updated from 9.0.1 to 9.0.2,
    • OpenTelemetry.Instrumentation.AspNet from 1.11.0-beta.1 to 1.11.0-beta.2,
    • System.Diagnostics.DiagnosticSource updated from 9.0.1 to 9.0.2,
    • System.IO.Pipelines updated from 9.0.1 to 9.0.2,
    • System.Text.Encodings.Web update from 9.0.1 to 9.0.2,
    • System.Text.Json update from 9.0.1 to 9.0.2.

Fixed

v1.10.0

05 Feb 13:14
v1.10.0
4f0fe4c

Choose a tag to compare

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.GrpcNetClient from 1.10.0-beta.1 to 1.11.0-beta.1
    • OpenTelemetry.Instrumentation.Http from 1.10.0 to 1.11.0,
    • OpenTelemetry.Instrumentation.Process from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Instrumentation.Quartz from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Instrumentation.Runtime from 1.10.0 to 1.11.0,
    • OpenTelemetry.Instrumentation.SqlClient from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Instrumentation.Wcf from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Resources.Azure from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Resources.Container from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Resources.Host from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Resources.OperatingSystem from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Resources.Process from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Resources.ProcessRuntime from 1.10.0-beta.1 to 1.11.0-beta.1.
  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.AspNetCore from 1.10.1 to 1.11.0,
    • OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.10.0-beta.1 to 1.11.0-beta.1,
    • OpenTelemetry.Instrumentation.StackExchangeRedis from 1.10.0-beta.1 to 1.11.0-beta.1.
  • .NET Framework only, following packages updated
    • Microsoft.Bcl.AsyncInterfaces updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Configuration updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Configuration.Abstractions updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Configuration.Binder updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.DependencyInjection updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.DependencyInjection.Abstractions
      updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Diagnostics.Abstractions updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Logging updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Logging.Abstractions updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Logging.Configuration updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Options updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Options.ConfigurationExtensions
      updated from 9.0.0 to 9.0.1,
    • Microsoft.Extensions.Primitives updated from 9.0.0 to 9.0.1,
    • OpenTelemetry.Instrumentation.AspNet from 1.10.0-beta.1 to 1.11.0-beta.1,
    • System.IO.Pipelines updated from 9.0.0 to 9.0.1,
    • System.Diagnostics.DiagnosticSource updated from 9.0.0 to 9.0.1,
    • System.Text.Encodings.Web update from 9.0.0 to 9.0.1,
    • System.Text.Json update from 9.0.0 to 9.0.1,
    • System.Threading.Tasks.Extensions" update from 4.5.4 to 4.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

13 Dec 12:18
v1.10.0-beta.1
09d4c24

Choose a tag to compare

v1.10.0-beta.1 Pre-release
Pre-release

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_code and otel.status_description are replaced by native fields Status and StatusDescription.
  • Changed minimal supported version of Microsoft.Extensions.Logging for ILOGGER instrumentation from 8.0.0 to 9.0.0.
  • Glibc native libraries are compiled on Ubuntu v16.04.
  • Changed MongoDB traces instrumentation to the bytecode version. It supports MongoDB.Driver.Core from 2.7.0 and MongoDB.Driver from 3.0.0.

Dependency updates

  • Updated Core components: 1.10.0.
  • Following packages updated
    • Microsoft.Extensions.Configuration.Binder from 8.0.2 to 9.0.0,
    • Microsoft.Extensions.Logging.Configuration from 8.0.0 to 9.0.0,
    • OpenTelemetry.Exporter.Prometheus.HttpListener from 1.9.0-beta.2 to 1.10.0-beta.1,
    • OpenTelemetry.Instrumentation.GrpcNetClient from 1.9.0-beta.1 to 1.10.0-beta.1
    • OpenTelemetry.Instrumentation.Http from 1.9.0 to 1.10.0,
    • OpenTelemetry.Instrumentation.Process from 0.5.0-beta.7 to 1.10.0-beta.1,
    • OpenTelemetry.Instrumentation.Quartz from 1.0.0-beta.3 to 1.10.0-beta.1,
    • OpenTelemetry.Instrumentation.Runtime from 1.9.0 to 1.10.0,
    • OpenTelemetry.Instrumentation.SqlClient from 1.9.0-beta.1 to 1.10.0-beta.1,
    • OpenTelemetry.Instrumentation.Wcf from 1.0.0-rc.18 to 1.10.0-beta.1,
    • OpenTelemetry.Resources.Azure from 1.0.0-beta.9 to 1.10.0-beta.1,
    • OpenTelemetry.Resources.Container from 1.0.0-beta.9 to 1.10.0-beta.1,
    • OpenTelemetry.Resources.Host from 0.1.0-beta.3 to 1.10.0-beta.1,
    • OpenTelemetry.Resources.OperatingSystem from 0.1.0-alpha.4 to 1.10.0-beta.1,
    • OpenTelemetry.Resources.Process from 0.1.0-beta.3 to 1.10.0-beta.1,
    • OpenTelemetry.Resources.ProcessRuntime from 0.1.0-beta.2 to 1.10.0-beta.1.
  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.AspNetCore from 1.9.0 to 1.10.1,
    • OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.0.0-beta.12 to 1.10.0-beta.1,
    • OpenTelemetry.Instrumentation.StackExchangeRedis from 1.9.0-beta.1 to 1.10.0-beta.1,
    • System.Diagnostics.DiagnosticSource from 8.0.0 to 9.0.0.
  • .NET Framework only, following packages updated
    • Google.Protobuf updated from 3.28.3 to 3.29.1,
    • Microsoft.Bcl.AsyncInterfaces from 8.0.0 to 9.0.0,
    • Microsoft.Extensions.Configuration from 9.0.0 to 9.0.0,
    • Microsoft.Extensions.Configuration.Abstractions from 8.0.0 to 9.0.0,
    • Microsoft.Extensions.DependencyInjection from 8.0.1 to 9.0.0,
    • Microsoft.Extensions.DependencyInjection.Abstractions from 8.0.2 to 9.0.0,
    • Microsoft.Extensions.Logging from 8.0.0 to 9.0.0,
    • Microsoft.Extensions.Logging.Abstractions from 8.0.1 to 9.0.0,
    • Microsoft.Extensions.Options from 8.0.2 to 9.0.0,
    • Microsoft.Extensions.Options.ConfigurationExtensions from 8.0.0 to 9.0.0,
    • Microsoft.Extensions.Primitives from 8.0.0 to 9.0.0,
    • OpenTelemetry.Instrumentation.AspNet from 1.9.0-beta.1 to 1.10.0-beta.1,
    • System.Buffers from 4.5.5 to 4.6.0,
    • System.Memory from 4.5.5 to 4.6.0,
    • System.Numerics.Vectors from 4.5.0 to 4.6.0,
    • System.Diagnostics.DiagnosticSource from 8.0.1 to 9.0.0,
    • System.Runtime.CompilerServices.Unsafe from 6.0.0 to 6.1.0,
    • System.Text.Encodings.Web from 8.0.0 to 9.0.0,
    • System.Text.Json from 8.0.5 to 9.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.DiagnosticSources dependency is removed.

v1.9.0

06 Nov 16:35
v1.9.0
8a1f2c8

Choose a tag to compare

1.9.0

Changed

  • Musl-based (Alpine) libraries are compiled on Alpine v3.20.

Dependency updates

  • Following packages updated
    • OpenTelemetry.Instrumentation.Wcf from 1.0.0-rc.17 to 1.0.0-rc.18,
  • .NET Framework only, following packages updated
    • Google.Protobuf updated from 3.28.2 to 3.28.3,
    • Microsoft.Extensions.DependencyInjection from 8.0.0 to 8.0.1,
    • Microsoft.Extensions.DependencyInjection.Abstractions from 8.0.1 to 8.0.2,
    • System.Diagnostics.DiagnosticSource from 8.0.0 to 8.0.1,
    • System.Text.Json from 8.0.4 to 8.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, use console as one of the values for the following environment variables:
    OTEL_TRACES_EXPORTER
    OTEL_METRICS_EXPORTER
    OTEL_LOGS_EXPORTER.

v1.8.0

27 Sep 10:34
v1.8.0
987436a

Choose a tag to compare

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, and OTEL_LOGS_EXPORTER now 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_DIR or LOCAL_PATH arguments to otel-dotnet-auto-install.sh.
  • Added OTEL_DOTNET_AUTO_LOGGER to 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 if FailFast is enabled, exception is thrown.
  • Referencing OpenTelemetry.AutoInstrumentation manually no longer visibly injects
    instrumentation scripts into projects in an editor's solution window.

Dependency updates

  • Following packages updated
    • MongoDB.Driver.Core.Extensions.DiagnosticSources from 1.4.0 to 1.5.0,
    • OpenTelemetry.Exporter.Prometheus.HttpListener from 1.9.0-beta.1 to 1.9.0-beta.2,
    • OpenTelemetry.Instrumentation.Process from 0.5.0-beta.6 to 0.5.0-beta.7,
    • OpenTelemetry.Resources.Azure from 1.0.0-beta.8 to 1.0.0-beta.9,
    • OpenTelemetry.Resources.Host from 0.1.0-beta.2 to 0.1.0-beta.3,
    • OpenTelemetry.Resources.Process from 0.1.0-beta.2 to 0.1.0-beta.3,
    • OpenTelemetry.Shims.OpenTracing from 1.9.0-beta.1 to 1.9.0-beta.2.
  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.StackExchangeRedis from 1.0.0-rc9.15 to 1.9.0-beta.1.
  • .NET Framework only, following packages updated
    • Google.Protobuf updated from 3.27.1 to 3.28.2,
    • Grpc.Core.Api from 2.63.0 to 2.66.0,
    • Microsoft.Extensions.Configuration.Binder from 8.0.1 to 8.0.2,
    • System.Text.Json from 8.0.3 to 8.0.4.

Deprecated

  • Environment variables OTEL_DOTNET_AUTO_TRACES_CONSOLE_EXPORTER_ENABLED, OTEL_DOTNET_AUTO_METRICS_CONSOLE_EXPORTER_ENABLED, and OTEL_DOTNET_AUTO_LOGS_CONSOLE_EXPORTER_ENABLED are 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

18 Jun 11:46
v1.7.0
2a428ee

Choose a tag to compare

1.7.0

Added

  • Support for capturing HTTP headers for following traces instrumentations:
    • ASP.NET, configurable by OTEL_DOTNET_AUTO_TRACES_ASPNET_INSTRUMENTATION_CAPTURE_REQUEST_HEADERS and OTEL_DOTNET_AUTO_TRACES_ASPNET_INSTRUMENTATION_CAPTURE_RESPONSE_HEADERS,
    • ASP.NET Core, configurable by OTEL_DOTNET_AUTO_TRACES_ASPNETCORE_INSTRUMENTATION_CAPTURE_REQUEST_HEADERS and OTEL_DOTNET_AUTO_TRACES_ASPNETCORE_INSTRUMENTATION_CAPTURE_RESPONSE_HEADERS,
    • HTTP Client, configurable by OTEL_DOTNET_AUTO_TRACES_HTTP_INSTRUMENTATION_CAPTURE_REQUEST_HEADERS and OTEL_DOTNET_AUTO_TRACES_HTTP_INSTRUMENTATION_CAPTURE_RESPONSE_HEADERS.
  • Support for capturing gRPC metadata for Grpc.Net.Client traces instrumentation.
    It can by configured by OTEL_DOTNET_AUTO_TRACES_GRPCNETCLIENT_INSTRUMENTATION_CAPTURE_REQUEST_METADATA and OTEL_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_TEXT environment 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.Kafka client instrumentation. See the issue for details.
  • Do not create consumer spans related to PartitionEOF events for Confluent.Kafka client 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.HttpListener from 1.8.0-rc.1 to 1.9.0-beta.1,
    • OpenTelemetry.Instrumentation.GrpcNetClient from 1.8.0-beta.1 to 1.9.0-beta.1,
    • OpenTelemetry.Instrumentation.Http from 1.8.1 to 1.9.0,
    • OpenTelemetry.Instrumentation.Process from 0.5.0-beta.5 to 0.5.0-beta.6,
    • OpenTelemetry.Instrumentation.Quartz from 1.0.0-beta.2 to 1.0.0-beta.3,
    • OpenTelemetry.Instrumentation.Runtime from 1.8.0 to 1.9.0,
    • OpenTelemetry.Instrumentation.SqlClient from 1.8.0-beta.1 to 1.9.0-beta.1,
    • OpenTelemetry.Instrumentation.StackExchangeRedis from 1.0.0-rc9.14 to 1.0.0-rc9.15,
    • OpenTelemetry.Instrumentation.Wcf from 1.0.0-rc.16 to 1.0.0-rc.17,
    • OpenTelemetry.Shims.OpenTracing from 1.7.0-beta.1 to 1.9.0-beta.1,
    • OpenTelemetry.Resources.Azure from 1.0.0-beta.7 to 1.0.0-beta.8,
    • OpenTelemetry.Resources.Host from 0.1.0-beta.1 to 0.1.0-beta.2.
    • OpenTelemetry.Resources.Process from 0.1.0-beta.1 to 0.1.0-beta.2.
    • OpenTelemetry.Resources.ProcessRuntime from 0.1.0-beta.1 to 0.1.0-beta.2.
  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.AspNetCore from 1.8.1 to 1.9.0,
    • OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.0.0-beta.11 to 1.0.0-beta.12,
    • OpenTelemetry.Resources.Container from 1.0.0-beta.7 to 1.0.0-beta.9.
  • .NET Framework only, following packages updated
    • OpenTelemetry.Instrumentation.AspNet from 1.8.0-beta.2 to 1.9.0-beta.1.

Deprecated