Share via


MetricsOptions.Rules Property

Definition

Gets a list of instrument rules that identifies which metrics, instruments, and listeners are enabled.

public:
 property System::Collections::Generic::IList<Microsoft::Extensions::Diagnostics::Metrics::InstrumentRule ^> ^ Rules { System::Collections::Generic::IList<Microsoft::Extensions::Diagnostics::Metrics::InstrumentRule ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule> Rules { get; }
member this.Rules : System.Collections.Generic.IList<Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule>
Public ReadOnly Property Rules As IList(Of InstrumentRule)

Property Value

Applies to