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