Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1.13.0
This release include all changes from 1.13.0-beta.1
release.
Added
Microsoft.AspNetCore.Componentsand
Microsoft.AspNetCore.Components.Server.Circuits.System.ServiceModel.Primitives10.0.*on .NET 10.CommandTextisavailable for SqlClient instrumentation.
This is disabled by default and can be enabled via the
OTEL_DOTNET_AUTO_SQLCLIENT_NETFX_ILREWRITE_ENABLEDenvironment variable.Changed
Microsoft.Extensions.Loggingfor
ILOGGERinstrumentation from9.0.0to8.0.0.DOTNET_STARTUP_HOOKSis now optional if the .NET CLR profileris 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
net462Target Framework Moniker (TFM). As a result, the ZIP archivedeployment 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
OTEL_DOTNET_AUTO_SQLCLIENT_SET_DBSTATEMENT_FOR_TEXTand
OTEL_DOTNET_AUTO_ENTITYFRAMEWORKCORE_SET_DBSTATEMENT_FOR_TEXTThese features are always enabled. Statements are sanitized.
macOS libraries are built and tested against macOS Sonoma 14 arm64.
Fixed
See #4269
for details.
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL,OTEL_EXPORTER_OTLP_METRICS_PROTOCOLandOTEL_EXPORTER_OTLP_LOGS_PROTOCOL.See #4593
for details.
Tests
Checklist
CHANGELOG.mdis updated.Newfeatures are covered by tests.