12 references to RequestCheckpointConstants
Microsoft.AspNetCore.Diagnostics.Middleware (7)
Latency\AddServerTimingHeaderMiddleware.cs (1)
38if (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)
25Checkpoint checkpoint = new(RequestCheckpointConstants.ElapsedTillHeaders, TimeAdvanceMs, 1000);
Latency\ChecpointAcceptanceTests.cs (4)
48latencyContext.TryGetCheckpoint(RequestCheckpointConstants.ElapsedTillPipelineExitMiddleware, out var exitPipeline, out var exitPipelineFreq); 49latencyContext.TryGetCheckpoint(RequestCheckpointConstants.ElapsedResponseProcessed, out var responseProcessed, out var responseProcessedFreq); 84latencyContext.TryGetCheckpoint(RequestCheckpointConstants.ElapsedTillPipelineExitMiddleware, out var exitPipeline, out var exitPipelineFreq); 85latencyContext.TryGetCheckpoint(RequestCheckpointConstants.ElapsedResponseProcessed, out var responseProcessed, out var responsedProcessedFreq);