1 write to Scope
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\Meter.cs (1)
88Scope = scope;
10 references to Scope
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
48if (instrument.Meter.Scope == meterFactory &&
Microsoft.AspNetCore.Hosting.Tests (1)
HostingApplicationDiagnosticsTests.cs (1)
189if (i.Meter.Scope == testMeterFactory && i.Meter.Name == HostingMetrics.MeterName && i.Name == "http.server.request.duration")
Microsoft.Extensions.Diagnostics (3)
Metrics\ListenerSubscription.cs (3)
135&& IsMoreSpecific(rule, best, isLocalScope: instrument.Meter.Scope == _meterFactory)) 161if (!(rule.Scopes.HasFlag(MeterScope.Global) && instrument.Meter.Scope == null) 162&& !(rule.Scopes.HasFlag(MeterScope.Local) && instrument.Meter.Scope == meterFactory))
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Linux\AcceptanceTest.cs (1)
364if (!ReferenceEquals(instrument.Meter.Scope, meterScope))
Microsoft.Extensions.Diagnostics.Testing (1)
Metrics\MetricCollector.cs (1)
90Initialize(instrument => Equals(instrument.Meter.Scope, meterScope) && instrument.Meter.Name == meterName && instrument.Name == instrumentName);
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Metrics\MetricsEventSource.cs (3)
466Helpers.FormatTags(i.Tags), Helpers.FormatTags(i.Meter.Tags), Helpers.FormatObjectHash(i.Meter.Scope), state.ID), 468Helpers.FormatTags(i.Tags), Helpers.FormatTags(i.Meter.Tags), Helpers.FormatObjectHash(i.Meter.Scope), state.ID), 470Helpers.FormatTags(i.Tags), Helpers.FormatTags(i.Meter.Tags), Helpers.FormatObjectHash(i.Meter.Scope), state is null ? 0 : state.ID),