15 references to Global
Microsoft.Extensions.Diagnostics (9)
Metrics\Configuration\MetricsConfigureOptions.cs (4)
33LoadMeterRules(options, configurationSection, MeterScope.Global | MeterScope.Local, null); 38LoadMeterRules(options, configurationSection, MeterScope.Global, null); 52LoadMeterRules(options, enabledMetricsSection, MeterScope.Global | MeterScope.Local, listenerName); 57LoadMeterRules(options, enabledGlobalMetricsSection, MeterScope.Global, listenerName);
Metrics\ListenerSubscription.cs (5)
161if (!(rule.Scopes.HasFlag(MeterScope.Global) && instrument.Meter.Scope == null) 258if (!rule.Scopes.HasFlag(MeterScope.Global) && best.Scopes.HasFlag(MeterScope.Global)) 262else if (rule.Scopes.HasFlag(MeterScope.Global) && !best.Scopes.HasFlag(MeterScope.Global))
Microsoft.Extensions.Diagnostics.Abstractions (6)
Metrics\InstrumentRule.cs (1)
55/// This property is used to distinguish between meters created via <see cref="Meter"/> constructors (<see cref="MeterScope.Global"/>)
Metrics\MeterScope.cs (1)
10/// Represents scopes used by <see cref="InstrumentRule"/> to distinguish between meters created via <see cref="Meter"/> constructors (<see cref="Global"/>)
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)