dotnet-server-timing
dotnet-server-timing copied to clipboard
Libraries that simplify the onboarding of Server Timing API (a convenient way to communicate performance metrics about the request-response cycle) in .NET projects.
https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/
- https://anthonygiretti.com/2023/06/16/asp-net-core-8-expose-timestamp-data-request-processing-with-ihttpsysrequesttimingfeature-when-using-http-sys/
In scenario like the one below, the library could autmatically generate metric names which reflect the nesting (e.g. OuterCallName.InnerCallName). ```cs using (_serverTiming.TimeAction("OuterCallName")) { setup(); using (_serverTiming.TimeAction("InnerCallName ")) { doSomeWork(); }...