1.0.0-beta.8 (2023-10-05)
Breaking Changes
- Removed package references to the beta versions of
OpenTelemetry.Instrumentation.AspNetCore
,OpenTelemetry.Instrumentation.Http
, andOpenTelemetry.Instrumentation.SqlClient
.
Instead, these packages are now internally vendored within the distro.
Due to this change, users will no longer be able to access the public APIs of these beta packages.
Manually adding package references to these instrumentation libraries in an application will cause the internal vendored instrumentation from the distro to be ignored.
If users choose to add these references, they must ensure to update their configuration subsequently. This includes incorporating the necessary instrumentation using either TracerProviderBuilder or MeterProviderBuilder.
Other Changes
- Vendored the code of instrumentation libraries
OpenTelemetry.Instrumentation.AspNetCore
,OpenTelemetry.Instrumentation.Http
, andOpenTelemetry.Instrumentation.SqlClient
from the OpenTelemetry .NET repository.
Integrated the forked code and converted all of its public API to internal.
This ensures thatAzure.Monitor.OpenTelemetry.AspNetCore
has native support for ASP.NET Core, HTTP Client, and SQL instrumentation without needing external beta package references. - Vendored the code of the
OpenTelemetry.ResourceDetectors.Azure
resource detector from the OpenTelemetry .NET Contrib repository and made its public API internal. - Removed reference to the
OpenTelemetry.ResourceDetectors.Azure
resource detector package. - Replaced the project reference for
Azure.Monitor.OpenTelemetry.Exporter
with a 1.0.0 package reference.