次の方法で共有


MetricsBuilderConfigurationExtensions Class

Definition

Extensions for IMetricsBuilder for enabling metrics based on IConfiguration.

public ref class MetricsBuilderConfigurationExtensions abstract sealed
public static class MetricsBuilderConfigurationExtensions
type MetricsBuilderConfigurationExtensions = class
Public Module MetricsBuilderConfigurationExtensions
Inheritance
MetricsBuilderConfigurationExtensions

Methods

AddConfiguration(IMetricsBuilder, IConfiguration)

Reads metrics configuration from the provided IConfiguration section and configures which Meters, Instruments, and IMetricsListeners are enabled.

Applies to