dotnet / dotnet/aspnetcore

Add server timings

Open
#21,370 0 comments 0 reactions 0 assignees View on GitHub
affected-very-few area-networking enhancement severity-nice-to-have
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

Http.Sys has a feature for recording timestamps for major checkpoints in the lifecycle of a request. Partners like @bkatms use this to profile individual request latency issues. We've already exposed the Http.Sys data, but they want more checkpoints.

HttpSys:
- basline: https://github.com/dotnet/aspnetcore/issues/13482
- When dequeued from Http.Sys: https://github.com/dotnet/aspnetcore/blob/1d561c012913b7bb43bad4353722280e4c568053/src/Servers/HttpSys/src/AsyncAcceptContext.cs#L68

Kestrel:
- Reproduce as many of the checkpoints from Http.Sys as feasible.

IIS:
- Expose the native checkpoints https://github.com/dotnet/aspnetcore/issues/3842

HttpClient: https://github.com/dotnet/runtime/issues/827

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.