4 writes to LatencyDataExportTimeout
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Latency\RequestLatencyTelemetryExtensionsTests.cs (1)
54
LatencyDataExportTimeout
= TimeSpan.FromSeconds(2)
Latency\RequestLatencyTelemetryMiddlewareTests.cs (1)
172
Options.Create(new RequestLatencyTelemetryOptions {
LatencyDataExportTimeout
= exportTimeout }),
Latency\RequestLatencyTelemetryOptionsValidatorTests.cs (2)
15
var options = new RequestLatencyTelemetryOptions {
LatencyDataExportTimeout
= TimeSpan.FromSeconds(0) };
24
var options = new RequestLatencyTelemetryOptions {
LatencyDataExportTimeout
= TimeSpan.FromSeconds(1) };
5 references to LatencyDataExportTimeout
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Latency\RequestLatencyTelemetryMiddleware.cs (1)
41
_exportTimeout = options.Value.
LatencyDataExportTimeout
;
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Latency\RequestLatencyTelemetryExtensionsTests.cs (4)
64
Assert.True(actualOptions.Value.
LatencyDataExportTimeout
== expectedOptions.
LatencyDataExportTimeout
);
72
{ $"{nameof(RequestLatencyTelemetryOptions)}:{nameof(options.
LatencyDataExportTimeout
)}", options.
LatencyDataExportTimeout
.ToString() },