This file contains individual changes for the OpenTelemetry.Extensions.Hosting package. For highlights and announcements covering all components see: Release Notes.
Released 2024-Nov-01
Released 2024-Sep-30
- Updated
Microsoft.Extensions.Hosting.Abstractions
package version to9.0.0-rc.1.24431.7
. (#5853)
Released 2024-Jun-14
Released 2024-Jun-07
- The experimental APIs previously covered by
OTEL1000
(OpenTelemetryBuilder.WithLogging
method) are now be part of the public API and supported in stable builds. (#5648)
Released 2024-May-20
- Reverted obsoletion of
OpenTelemetryBuilder
. (#5571)
Released 2024-Apr-17
Released 2024-Apr-02
Released 2024-Mar-27
Released 2024-Mar-14
OpenTelemetryBuilder
has been marked obsolete. Component authors usingOpenTelemetryBuilder
for cross-cutting signal configuration extensions should switch to targetingIOpenTelemetryBuilder
instead. (#5265)
Released 2023-Dec-08
Released 2023-Nov-29
-
Updated
Microsoft.Extensions.Hosting.Abstractions
package version to8.0.0
. (#5051) -
The
OpenTelemetryBuilder.WithMetrics
method will now register anIMetricsListener
named 'OpenTelemetry' into theIServiceCollection
to enable metric management via the newMicrosoft.Extensions.Diagnostics
.NET 8 APIs. (#4958) -
The
OpenTelemetryBuilder.WithLogging
experimental API method will now register anILoggerProvider
named 'OpenTelemetry' into theIServiceCollection
to enableILoggerFactory
integration. (#5072)
Released 2023-Oct-16
- Changed the behavior of the
OpenTelemetryBuilder.AddOpenTelemetry
extension to INSERT OpenTelemetry services at the beginning of theIServiceCollection
in an attempt to provide a better experience for end users capturing telemetry in hosted services. Note that this does not guarantee that OpenTelemetry services will be initialized while other hosted services start, so it is possible to miss telemetry until OpenTelemetry services are fully initialized. (#4883)
Released 2023-Sep-05
Released 2023-Aug-21
- Experimental (pre-release builds only): Added Logs Bridge
API
implementation (
OpenTelemetryBuilder.WithLogging
). (#4735)
Released 2023-Jul-12
Released 2023-Jun-26
Released 2023-Jun-05
Released 2023-May-25
Released 2023-Mar-31
Released 2023-Mar-07
Released 2023-Feb-24
-
Updated OTel SDK dependency to 1.4.0
-
Removed deprecated extensions:
AddOpenTelemetryTracing
,AddOpenTelemetryMetrics
,Configure
, &GetServices
. (#4071)
Released 2023-Feb-10
- Added
AddOpenTelemetry
extension from SDK and removedStartWithHost
.AddOpenTelemetry
now registers theIHostedService
used to start collecting traces and/or metrics. (#4174)
Released 2023-Feb-01
Released 2023-Jan-09
- If the OpenTelemetry SDK cannot start it will now throw exceptions and prevent the host from starting. (#4006)
Released 2022-Dec-12
- Added the
OpenTelemetryBuilder.StartWithHost
extension. (#3923)
Released 2022-Nov-07
Released 2022-Oct-17
Released 2022-Sep-29
-
Dependency injection support when configuring
TracerProvider
has been moved into the SDK. (#3533) -
Dependency injection support when configuring
MeterProvider
has been moved into the SDK. (#3646)
Released 2022-Aug-18
Released 2022-Aug-02
Released 2022-Jun-03
Released 2022-Apr-15
Released 2022-Apr-12
Released 2022-Mar-30
Released 2022-Mar-04
- Fixes an issue where the initialization of some aspects of the SDK can be
delayed when using the
AddOpenTelemetryTracing
andAddOpenTelemetryMetrics
methods. Namely, self-diagnostics and the default context propagator responsible for propagating trace context and baggage. (#2901)
Released 2022-Feb-02
Released 2021-Oct-08
-
Removes upper constraint for Microsoft.Extensions.Hosting.Abstractions dependency. (#2179)
-
Added
AddOpenTelemetryMetrics
extensions onIServiceCollection
to register OpenTelemetryMeterProvider
with application services. AddedAddInstrumentation<T>
,AddReader<T>
, andConfigure
extensions onMeterProviderBuilder
to support dependency injection scenarios. (#2412)
Released 2021-Jul-12
Released 2021-Jun-25
- Added
GetServices
extension. (#2058)
Released 2021-Jun-09
Released 2021-Apr-23
- Added
AddInstrumentation<T>
,AddProcessor<T>
,SetSampler<T>
, andConfigure
extensions to support dependency injection through the OpenTelemetry.Extensions.HostingTracerProviderBuilder
. (#1889)
Released 2021-Mar-19
Released 2021-Jan-29
Released 2020-Nov-17
Released 2020-Nov-5
- Removed AddOpenTelemetryTracing method which takes Func returning TracerProvider.
Released 2020-Oct-16
Released 2020-Sep-15
- Renamed all extension methods from AddOpenTelemetryTracerProvider to AddOpenTelemetryTracing
Released 2020-08-28
- Renamed all extension methods from AddOpenTelemetry to AddOpenTelemetryTracerProvider
Released 2020-07-24
- First beta release
Released 2020-07-23
- Initial release