1 write to Scope
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\Meter.cs (1)
85
Scope
= scope;
9 references to Scope
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
48
if (instrument.Meter.
Scope
== meterFactory &&
Microsoft.AspNetCore.Hosting.Tests (1)
HostingApplicationDiagnosticsTests.cs (1)
193
if (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))
161
if (!(rule.Scopes.HasFlag(MeterScope.Global) && instrument.Meter.
Scope
== null)
162
&& !(rule.Scopes.HasFlag(MeterScope.Local) && instrument.Meter.
Scope
== meterFactory))
Microsoft.Extensions.Diagnostics.Testing (1)
Metrics\MetricCollector.cs (1)
90
Initialize(instrument => Equals(instrument.Meter.
Scope
, meterScope) && instrument.Meter.Name == meterName && instrument.Name == instrumentName);
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Metrics\MetricsEventSource.cs (3)
495
Helpers.FormatTags(i.Tags), Helpers.FormatTags(i.Meter.Tags), Helpers.FormatObjectHash(i.Meter.
Scope
), state.ID, i.Meter.TelemetrySchemaUrl),
497
Helpers.FormatTags(i.Tags), Helpers.FormatTags(i.Meter.Tags), Helpers.FormatObjectHash(i.Meter.
Scope
), state.ID, i.Meter.TelemetrySchemaUrl),
499
Helpers.FormatTags(i.Tags), Helpers.FormatTags(i.Meter.Tags), Helpers.FormatObjectHash(i.Meter.
Scope
), state is null ? 0 : state.ID, i.Meter.TelemetrySchemaUrl),