Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
$ dotnet add package OpenTelemetry.Api.ProviderBuilderExtensionsdotnet add package OpenTelemetry.Api.ProviderBuilderExtensions
The OpenTelemetry.Api.ProviderBuilderExtensions package provides extension
methods and helpers for building TracerProviders and MeterProviders using
the Microsoft.Extensions.DependencyInjection API (primarily
IServiceCollection).
The OpenTelemetry.Api.ProviderBuilderExtensions package is intended for
instrumentation library authors who need to integrate with the OpenTelemetry SDK
without a direct dependency. For more details see: Registration extension
method guidance for library
authors.