1.2.0-beta.2 (2024-03-12)
Features Added
- Added ASP.NET Core and HTTP Client Metrics Collection:
- For
.NET 8.0
and above, we now utilize built-in Metrics from
Microsoft.AspNetCore.Hosting
and System.Net.Http. - For environments targetting
.NET 7.0
and below, distro uses ASP.NET Core and HTTP Client Instrumentation.
Detailed metrics information can be found in the
ASP.NET Core Instrumentation
and HTTP Client Instrumentation
documentation.
(#42307)
- For
- Enabled support for log collection from Azure SDKs via
Microsoft.Extensions.Logging
. See Logging with the Azure SDK for .NET
for the details.
(#42374)
- Added NET6 target framework.
(#42426)
Bugs Fixed
-
Will no longer emit
db.statement_type
as a part of SQL custom dimensions.
This attribute was removed from the SqlClient Instrumentation Library because it's not a part of the semantic conventions. -
Fix runtime crash with Microsoft.Bcl.AsyncInterfaces.
(#42426)
Other Changes
-
Updated the code of vendored instrumentation library
OpenTelemetry.Instrumentation.SqlClient
from the OpenTelemetry .NET repository.
Code has been updated to 1.7.0-beta.1.
(#42479) -
Updated the code of vendored resource detector library
OpenTelemetry.ResourceDetectors.Azure
from the OpenTelemetry .NET contrib repository.
Code has been updated to 1.0.0-beta.5.
(#42479)