12 references to RequestCheckpointConstants
Microsoft.AspNetCore.Diagnostics.Middleware (7)
Latency\AddServerTimingHeaderMiddleware.cs (1)
38
if (latencyContext.TryGetCheckpoint(
RequestCheckpointConstants
.ElapsedTillHeaders, out var timestamp, out var timestampFrequency))
Latency\CapturePipelineEntryMiddleware.cs (1)
22
_elapsedTillEntry = tokenIssuer.GetCheckpointToken(
RequestCheckpointConstants
.ElapsedTillEntryMiddleware);
Latency\CapturePipelineExitMiddleware.cs (2)
24
_elapsedTillPipelineExit = tokenIssuer.GetCheckpointToken(
RequestCheckpointConstants
.ElapsedTillPipelineExitMiddleware);
25
_elapsedResponseProcessed = tokenIssuer.GetCheckpointToken(
RequestCheckpointConstants
.ElapsedResponseProcessed);
Latency\CaptureResponseTimeMiddleware.cs (2)
24
_elapsedTillHeaders = tokenIssuer.GetCheckpointToken(
RequestCheckpointConstants
.ElapsedTillHeaders);
25
_elapsedTillFinished = tokenIssuer.GetCheckpointToken(
RequestCheckpointConstants
.ElapsedTillFinished);
Latency\RequestLatencyTelemetryServiceCollectionExtensions.cs (1)
28
.RegisterCheckpointNames(
RequestCheckpointConstants
.RequestCheckpointNames);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (5)
Latency\AddServerTimingHeaderMiddlewareTests.cs (1)
25
Checkpoint checkpoint = new(
RequestCheckpointConstants
.ElapsedTillHeaders, TimeAdvanceMs, 1000);
Latency\ChecpointAcceptanceTests.cs (4)
48
latencyContext.TryGetCheckpoint(
RequestCheckpointConstants
.ElapsedTillPipelineExitMiddleware, out var exitPipeline, out var exitPipelineFreq);
49
latencyContext.TryGetCheckpoint(
RequestCheckpointConstants
.ElapsedResponseProcessed, out var responseProcessed, out var responseProcessedFreq);
84
latencyContext.TryGetCheckpoint(
RequestCheckpointConstants
.ElapsedTillPipelineExitMiddleware, out var exitPipeline, out var exitPipelineFreq);
85
latencyContext.TryGetCheckpoint(
RequestCheckpointConstants
.ElapsedResponseProcessed, out var responseProcessed, out var responsedProcessedFreq);