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)
177var disableHttpRequestDurationMetric = endpoint?.Metadata.GetMetadata<IDisableHttpMetricsMetadata>() != null || context.MetricsTagsFeature.MetricsDisabled;
Microsoft.AspNetCore.Hosting.Tests (2)
HostingApplicationDiagnosticsTests.cs (2)
509Assert.True(context.MetricsTagsFeature.MetricsDisabled); 528Assert.False(context.MetricsTagsFeature.MetricsDisabled);