Releases: open-telemetry/opentelemetry-dotnet-instrumentation
Releases · open-telemetry/opentelemetry-dotnet-instrumentation
v1.13.0-beta.1
Added
- Extend support for RabbitMQ.Client
traces instrumentation for versions5.*. - 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.
v1.6.0
1.6.0
- Core components:
1.8.1 System.Diagnostics.DiagnosticSource:8.0.0
Changed
- To prevent sensitive information from leaking through query strings, the following instrumentations redact by default any value detected in query string components when building the
url.queryor theurl.fullattributes:OpenTelemetry.Instrumentation.Http,OpenTelemetry.Instrumentation.AspNetCore,OpenTelemetry.Instrumentation.AspNet. For example,?key1=value1&key2=value2becomes?key1=Redacted&key2=Redacted. You can customize this behavior through the environment variables. See the instrumentation options table for details.
Dependency updates
- Following packages updated
OpenTelemetry.Instrumentation.Httpfrom1.8.0to1.8.1.
- .NET only, following packages updated
Microsoft.Extensions.Configuration.Binderfrom8.0.0to8.0.1,OpenTelemetry.Instrumentation.AspNetCorefrom1.8.0to1.8.1.
- .NET Framework only, following packages updated
OpenTelemetry.Instrumentation.AspNetfrom1.8.0-beta.1to1.8.0-beta.2.
Fixed
- Stop creating
receiveconsumer spans for consume attempts that returned no message. For details, see #3367
v1.5.0
1.5.0
- Core components:
1.8.0 System.Diagnostics.DiagnosticSource:8.0.0
Added
- .NET only, warning in logs about End of Support date and upcoming End of Support date for .NET version.
- Experimental support for ARM64 on Ubuntu, Alpine and Debian based images.
- Experimental ARM64 support for the
OpenTelemetry.AutoInstrumentationNuGet package.
Changed
- Changed supported method parameters for plugins
- from
OpenTelemetry.Instrumentation.AspNet.AspNetInstrumentationOptionstoOpenTelemetry.Instrumentation.AspNet.AspNetTraceInstrumentationOptions.
- from
Dependency updates
- Updated Core components:
1.8.0. - Following packages updated
MongoDB.Driver.Core.Extensions.DiagnosticSourcesfrom1.3.0to1.4.0.OpenTelemetry.Exporter.Prometheus.HttpListenerfrom1.7.0-rc.1to1.8.0-rc.1,OpenTelemetry.Instrumentation.Httpfrom1.7.1to1.8.0,OpenTelemetry.Instrumentation.Processfrom0.5.0-beta.4to0.5.0-beta.5,OpenTelemetry.Instrumentation.Quartzfrom1.0.0-beta.1to1.0.0-beta.2,OpenTelemetry.Instrumentation.Runtimefrom1.7.0to1.8.0,OpenTelemetry.Instrumentation.SqlClientfrom1.7.0-beta.1to1.8.0-beta.1,OpenTelemetry.Instrumentation.StackExchangeRedisfrom1.0.0-rc9.13to1.0.0-rc9.14,OpenTelemetry.Instrumentation.Wcffrom1.0.0-rc.15to1.0.0-rc.16,OpenTelemetry.ResourceDetectors.Azurefrom1.0.0-beta.5to1.0.0-beta.6,OpenTelemetry.ResourceDetectors.Hostfrom0.1.0-alpha.2to0.1.0-alpha.3.OpenTelemetry.ResourceDetectors.Processfrom0.1.0-alpha.2to0.1.0-alpha.3.OpenTelemetry.ResourceDetectors.ProcessRuntimefrom0.1.0-alpha.2to0.1.0-alpha.3.
- .NET only, following packages updated
OpenTelemetry.Instrumentation.AspNetCorefrom1.7.1to1.8.0,OpenTelemetry.Instrumentation.EntityFrameworkCorefrom1.0.0-beta.10to1.0.0-beta.11,OpenTelemetry.ResourceDetectors.Containerfrom1.0.0-beta.6to1.0.0-beta.7.
- .NET Framework only, following packages updated
Google.Protobufupdated from3.25.2to3.26.1,Grpc.Core.Apifrom2.60.0to2.62.0,Microsoft.Extensions.DependencyInjection.Abstractionsfrom8.0.0to8.0.1,Microsoft.Extensions.Optionsfrom8.0.1to8.0.2,Microsoft.Extensions.Logging.Abstractionsfrom8.0.0to8.0.1,OpenTelemetry.Instrumentation.AspNetfrom1.7.0-beta.2to1.8.0-beta.1,System.Text.Jsonfrom8.0.1to8.0.3.
Fixed
- Resolved a crash issue caused by
System.IO.FileLoadExceptionfor
Microsoft.Extensions*.dlllibraries. This issue was due to a conflict with
runtime store libraries, impacting applications with mismatched dependency
versions. This fix enhances stability by addressing the underlying
compatibility concerns. For details see:
(#3075,
#3075)