15 references to Global
Microsoft.Extensions.Diagnostics (9)
Metrics\Configuration\MetricsConfigureOptions.cs (4)
33
LoadMeterRules(options, configurationSection, MeterScope.
Global
| MeterScope.Local, null);
38
LoadMeterRules(options, configurationSection, MeterScope.
Global
, null);
52
LoadMeterRules(options, enabledMetricsSection, MeterScope.
Global
| MeterScope.Local, listenerName);
57
LoadMeterRules(options, enabledGlobalMetricsSection, MeterScope.
Global
, listenerName);
Metrics\ListenerSubscription.cs (5)
161
if (!(rule.Scopes.HasFlag(MeterScope.
Global
) && instrument.Meter.Scope == null)
258
if (!rule.Scopes.HasFlag(MeterScope.
Global
) && best.Scopes.HasFlag(MeterScope.
Global
))
262
else 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)
34
MeterScope scopes = MeterScope.
Global
| MeterScope.Local)
56
MeterScope scopes = MeterScope.
Global
| MeterScope.Local)
78
MeterScope scopes = MeterScope.
Global
| MeterScope.Local)
100
MeterScope scopes = MeterScope.
Global
| MeterScope.Local)