Del via


IResourceMonitorBuilder Interface

Definition

Caution

This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.

Helps building the resource monitoring infrastructure.

public interface class IResourceMonitorBuilder
[System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public interface IResourceMonitorBuilder
[<System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type IResourceMonitorBuilder = interface
Public Interface IResourceMonitorBuilder
Attributes

Properties

Services

Gets the service collection being manipulated by the builder.

Methods

AddPublisher<T>()

Adds a resource utilization publisher that gets invoked whenever resource utilization is computed.

Extension Methods

ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection)

Configures the resource monitor.

ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>)

Configures the resource monitor.

Applies to