4 references to Rules
Microsoft.Extensions.Diagnostics (3)
Metrics\Configuration\MetricsConfigureOptions.cs (2)
89options.Rules.Add(new InstrumentRule(meterName, instrumentName: null, listenerName, scopes, meterEnabled)); 108options.Rules.Add(new InstrumentRule(meterSection.Key, instrumentName, listenerName, scopes, instrumentEnabled));
Metrics\MetricsSubscriptionManager.cs (1)
44var rules = options.Rules;
Microsoft.Extensions.Diagnostics.Abstractions (1)
Metrics\MetricsBuilderExtensions.Rules.cs (1)
114options.Rules.Add(new InstrumentRule(meterName, instrumentName, listenerName, scopes, enable));