OpenTelemetry.Api.ProviderBuilderExtensions An interface for configuring OpenTelemetry inside an . Gets the where OpenTelemetry services are configured. Represents something that configures the type. Invoked to configure a instance. . . Describes a backed by an . Gets the being constructed by the builder. Note: should return until construction has started and the has closed. Register a callback action to configure the where logging services are configured. Note: Logging services are only available during the application configuration phase. This method should throw a if services are configured after the application has been created. Configuration callback. The supplied for chaining. Contains extension methods for the class. Adds instrumentation to the provider. Note: The type specified by will be registered as a singleton service into application services. Instrumentation type. . The supplied for chaining. Adds instrumentation to the provider. Instrumentation type. . Instrumentation instance. The supplied for chaining. Adds instrumentation to the provider. Instrumentation type. . Instrumentation factory. The supplied for chaining. Adds instrumentation to the provider. Instrumentation type. . Instrumentation factory. The supplied for chaining. Register a callback action to configure the where logging services are configured. Note: Logging services are only available during the application configuration phase. . Configuration callback. The supplied for chaining. Register a callback action to configure the once the application is available. is an advanced API and is expected to be used primarily by library authors. Notes: Services may NOT be added to the (via ) inside because the has already been created. A will be thrown if services are accessed. Library extension methods (for example AddOtlpExporter inside OpenTelemetry.Exporter.OpenTelemetryProtocol) may depend on services being available today or at any point in the future. It is NOT recommend to call library extension methods from inside . For more information see: Dependency injection support. . Configuration callback. The supplied for chaining. Extension methods for setting up OpenTelemetry logging services in an . Registers an action used to configure the OpenTelemetry . Notes: This is safe to be called multiple times and by library authors. Each registered configuration action will be applied sequentially. A will NOT be created automatically using this method. To begin collecting logs use the IServiceCollection.AddOpenTelemetry extension in the OpenTelemetry.Extensions.Hosting package. . Callback action to configure the . The so that additional calls can be chained. Registers an action used to configure the OpenTelemetry once the is available. Notes: This is safe to be called multiple times and by library authors. Each registered configuration action will be applied sequentially. A will NOT be created automatically using this method. To begin collecting logs use the IServiceCollection.AddOpenTelemetry extension in the OpenTelemetry.Extensions.Hosting package. The supplied configuration delegate is called once the is available. Services may NOT be added to a once the has been created. Many helper extensions register services and may throw if invoked inside the configuration delegate. If you don't need access to the call instead which is safe to be used with helper extensions. . Callback action to configure the . The so that additional calls can be chained. Represents something that configures the type. Invoked to configure a instance. . . Describes a backed by an . Gets the being constructed by the builder. Note: should return until construction has started and the has closed. Register a callback action to configure the where metrics services are configured. Note: Metrics services are only available during the application configuration phase. This method should throw a if services are configured after the application has been created. Configuration callback. The supplied for chaining. Contains extension methods for the class. Adds instrumentation to the provider. Note: The type specified by will be registered as a singleton service into application services. Instrumentation type. . The supplied for chaining. Adds instrumentation to the provider. Instrumentation type. . Instrumentation instance. The supplied for chaining. Adds instrumentation to the provider. Instrumentation type. . Instrumentation factory. The supplied for chaining. Adds instrumentation to the provider. Instrumentation type. . Instrumentation factory. The supplied for chaining. Register a callback action to configure the where metrics services are configured. Note: Metrics services are only available during the application configuration phase. . Configuration callback. The supplied for chaining. Register a callback action to configure the once the application is available. is an advanced API and is expected to be used primarily by library authors. Notes: Services may NOT be added to the (via ) inside because the has already been created. A will be thrown if services are accessed. Library extension methods (for example AddOtlpExporter inside OpenTelemetry.Exporter.OpenTelemetryProtocol) may depend on services being available today or at any point in the future. It is NOT recommend to call library extension methods from inside . For more information see: Dependency injection support. . Configuration callback. The supplied for chaining. Extension methods for setting up OpenTelemetry Metrics services in an . Registers an action used to configure the OpenTelemetry . Notes: This is safe to be called multiple times and by library authors. Each registered configuration action will be applied sequentially. A will NOT be created automatically using this method. To begin collecting metrics use the IServiceCollection.AddOpenTelemetry extension in the OpenTelemetry.Extensions.Hosting package. . Callback action to configure the . The so that additional calls can be chained. Registers an action used to configure the OpenTelemetry once the is available. Notes: This is safe to be called multiple times and by library authors. Each registered configuration action will be applied sequentially. A will NOT be created automatically using this method. To begin collecting metrics use the IServiceCollection.AddOpenTelemetry extension in the OpenTelemetry.Extensions.Hosting package. The supplied configuration delegate is called once the is available. Services may NOT be added to a once the has been created. Many helper extensions register services and may throw if invoked inside the configuration delegate. If you don't need access to the call instead which is safe to be used with helper extensions. . Callback action to configure the . The so that additional calls can be chained. Represents something that configures the type. Invoked to configure a instance. . . Describes a backed by an . Gets the being constructed by the builder. Note: should return until construction has started and the has closed. Register a callback action to configure the where tracing services are configured. Note: Tracing services are only available during the application configuration phase. This method should throw a if services are configured after the application has been created. Configuration callback. The supplied for chaining. Contains extension methods for the class. Adds instrumentation to the provider. Note: The type specified by will be registered as a singleton service into application services. Instrumentation type. . The supplied for chaining. Adds instrumentation to the provider. Instrumentation type. . Instrumentation instance. The supplied for chaining. Adds instrumentation to the provider. Instrumentation type. . Instrumentation factory. The supplied for chaining. Adds instrumentation to the provider. Instrumentation type. . Instrumentation factory. The supplied for chaining. Register a callback action to configure the where tracing services are configured. Note: Tracing services are only available during the application configuration phase. . Configuration callback. The supplied for chaining. Register a callback action to configure the once the application is available. is an advanced API and is expected to be used primarily by library authors. Notes: Services may NOT be added to the (via ) inside because the has already been created. A will be thrown if services are accessed. Library extension methods (for example AddOtlpExporter inside OpenTelemetry.Exporter.OpenTelemetryProtocol) may depend on services being available today or at any point in the future. It is NOT recommend to call library extension methods from inside . For more information see: Dependency injection support. . Configuration callback. The supplied for chaining. Extension methods for setting up OpenTelemetry tracing services in an . Registers an action used to configure the OpenTelemetry . Notes: This is safe to be called multiple times and by library authors. Each registered configuration action will be applied sequentially. A will NOT be created automatically using this method. To begin collecting traces use the IServiceCollection.AddOpenTelemetry extension in the OpenTelemetry.Extensions.Hosting package. . Callback action to configure the . The so that additional calls can be chained. Registers an action used to configure the OpenTelemetry once the is available. Notes: This is safe to be called multiple times and by library authors. Each registered configuration action will be applied sequentially. A will NOT be created automatically using this method. To begin collecting traces use the IServiceCollection.AddOpenTelemetry extension in the OpenTelemetry.Extensions.Hosting package. The supplied configuration delegate is called once the is available. Services may NOT be added to a once the has been created. Many helper extensions register services and may throw if invoked inside the configuration delegate. If you don't need access to the call instead which is safe to be used with helper extensions. . Callback action to configure the . The so that additional calls can be chained.