15 references to Local
Microsoft.Extensions.Diagnostics (9)
Metrics\Configuration\MetricsConfigureOptions.cs (4)
33LoadMeterRules(options, configurationSection, MeterScope.Global | MeterScope.Local, null); 43LoadMeterRules(options, configurationSection, MeterScope.Local, null); 52LoadMeterRules(options, enabledMetricsSection, MeterScope.Global | MeterScope.Local, listenerName); 62LoadMeterRules(options, enabledLocalMetricsSection, MeterScope.Local, listenerName);
Metrics\ListenerSubscription.cs (5)
162&& !(rule.Scopes.HasFlag(MeterScope.Local) && instrument.Meter.Scope == meterFactory)) 271if (!rule.Scopes.HasFlag(MeterScope.Local) && best.Scopes.HasFlag(MeterScope.Local)) 275else if (rule.Scopes.HasFlag(MeterScope.Local) && !best.Scopes.HasFlag(MeterScope.Local))
Microsoft.Extensions.Diagnostics.Abstractions (6)
Metrics\InstrumentRule.cs (1)
56/// and those created via Dependency Injection with <see cref="IMeterFactory.Create(MeterOptions)"/> (<see cref="MeterScope.Local"/>).
Metrics\MeterScope.cs (1)
11/// and those created via Dependency Injection with <see cref="IMeterFactory.Create(MeterOptions)"/> (<see cref="Local"/>).
Metrics\MetricsBuilderExtensions.Rules.cs (4)
34MeterScope scopes = MeterScope.Global | MeterScope.Local) 56MeterScope scopes = MeterScope.Global | MeterScope.Local) 78MeterScope scopes = MeterScope.Global | MeterScope.Local) 100MeterScope scopes = MeterScope.Global | MeterScope.Local)