Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule public class InstrumentRule Documentation Code public bool Enable { get; } public string InstrumentName { get; } public string ListenerName { get; } public string MeterName { get; } public MeterScope Scopes { get; } public InstrumentRule(string meterName, string instrumentName, string listenerName, MeterScope scopes, bool enable)