3 implementations of AddCheckpoint
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Latency\AddServerTimingHeaderMiddlewareTests.cs (1)
72public void AddCheckpoint(CheckpointToken token) => throw new NotSupportedException();
Microsoft.Extensions.Telemetry (1)
Latency\Internal\LatencyContext.cs (1)
42public void AddCheckpoint(CheckpointToken token)
Microsoft.Extensions.Telemetry.Abstractions (1)
Latency\NullLatencyContext.cs (1)
36public void AddCheckpoint(CheckpointToken token)
21 references to AddCheckpoint
Microsoft.AspNetCore.Diagnostics.Middleware (5)
Latency\CapturePipelineEntryMiddleware.cs (1)
31latencyContext.AddCheckpoint(_elapsedTillEntry);
Latency\CapturePipelineExitMiddleware.cs (2)
32latencyContext.AddCheckpoint(_elapsedTillPipelineExit); 36latencyContext.AddCheckpoint(_elapsedResponseProcessed);
Latency\CaptureResponseTimeMiddleware.cs (2)
42latencyContext!.AddCheckpoint(_elapsedTillHeaders); 50latencyContext!.AddCheckpoint(_elapsedTillFinished);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Latency\AcceptanceTests.cs (1)
55latencyContext.AddCheckpoint(tokenIssuer.GetCheckpointToken(checkpointName));
Microsoft.Extensions.Http.Diagnostics (3)
Latency\Internal\HttpClientLatencyLogEnricher.cs (1)
40lc?.AddCheckpoint(_enricherInvoked);
Latency\Internal\HttpLatencyTelemetryHandler.cs (1)
46context.AddCheckpoint(_handlerStart);
Latency\Internal\HttpRequestLatencyListener.cs (1)
61LatencyContext.Get()?.AddCheckpoint(token.Value);
Microsoft.Extensions.Http.Diagnostics.Tests (5)
Latency\Internal\HttpMockProvider.cs (1)
39lc.Setup(a => a.AddCheckpoint(It.IsAny<CheckpointToken>()));
Latency\Internal\HttpRequestLatencyListenerTest.cs (4)
160lc.Verify(a => a.AddCheckpoint(It.IsAny<CheckpointToken>()), Times.Never); 185lc.Verify(a => a.AddCheckpoint(It.IsAny<CheckpointToken>()), Times.Exactly(numHttpEvents)); 198lc.Verify(a => a.AddCheckpoint(It.IsAny<CheckpointToken>()), Times.Exactly(numHttpEvents + numSocketEvents)); 211lc.Verify(a => a.AddCheckpoint(It.IsAny<CheckpointToken>()),
Microsoft.Extensions.Telemetry.Abstractions (1)
Latency\Registration\ILatencyContextTokenIssuer.cs (1)
25/// <returns>Token to use with <see cref="ILatencyContext.AddCheckpoint(CheckpointToken)"/>.</returns>
Microsoft.Extensions.Telemetry.Abstractions.Tests (1)
Latency\NoopLatencyContextTests.cs (1)
68context.AddCheckpoint(issuer.GetCheckpointToken(string.Empty));
Microsoft.Extensions.Telemetry.Tests (5)
Latency\Internal\LatencyContextProviderTests.cs (3)
46lc.AddCheckpoint(ct); 55lc.AddCheckpoint(ct); 82lc.AddCheckpoint(ct);
Latency\Internal\LatencyContextTests.cs (2)
250context.AddCheckpoint(checkpointToken); 275context.AddCheckpoint(checkpointToken);