Implemented interface member:
property
MetricsDisabled
Microsoft.AspNetCore.Http.Features.IHttpMetricsTagsFeature.MetricsDisabled
1 write to MetricsDisabled
Microsoft.AspNetCore.Hosting (1)
Internal\HttpMetricsTagsFeature.cs (1)
24MetricsDisabled = false;
3 references to MetricsDisabled
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplicationDiagnostics.cs (1)
161var disableHttpRequestDurationMetric = endpoint?.Metadata.GetMetadata<IDisableHttpMetricsMetadata>() != null || context.MetricsTagsFeature.MetricsDisabled;
Microsoft.AspNetCore.Hosting.Tests (2)
HostingApplicationDiagnosticsTests.cs (2)
444Assert.True(context.MetricsTagsFeature.MetricsDisabled); 463Assert.False(context.MetricsTagsFeature.MetricsDisabled);