-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose per-response telemetry for number of bytes sent from server to client. #38919
Comments
Related to, but distinct from #38918, the request and response scenarios are pretty different to implement and consume. |
We need to check if this number includes headers, body, etc.. Reporting it to the app in a feature is tricky because it will change over the lifetime of a response, and in some cases the response isn't sent at all until the pipeline unwinds. |
Thanks for contacting us. We're moving this issue to the |
Thanks for contacting us. We're moving this issue to the |
Proposal from another customer: #44953 IHttpRequestSizeFeature
{
long RequestLineSize { get; }
long HeaderSize { get; }
long? BodySize { get; } // find appropriate optimization based on buffering/content-length?
long TotalRequestSize { get; }
}
IHttpResponseSizeFeature
{
// similar to above
} |
IIS exposes telemetry about number of bytes sent from server to client on a per-request basis. Please see "Server bytes sent" in https://docs.microsoft.com/en-us/windows/win32/http/iis-logging. This is a request to enable similar telemetry for HTTP.sys server and Kestrel. This is useful for egress bandwidth calculations/investigations for large-scale services.
The text was updated successfully, but these errors were encountered: