Megosztás a következőn keresztül:


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 Meter's, Instrument's, and IMetricsListener's are enabled.

Applies to