You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the hlog.AccessHandler middleware exposes the number of bytes written but does not surface the number of bytes read off of the request body.
As the introduction of a new field would break the AccessHandler API, I'd propose the creation of a new function that provides a struct to the callback function containing the number of read bytes as well as the existing datapoints. This will also enable future additions without breaking the interface.
Currently, the
hlog.AccessHandler
middleware exposes the number of bytes written but does not surface the number of bytes read off of the request body.As the introduction of a new field would break the
AccessHandler
API, I'd propose the creation of a new function that provides a struct to the callback function containing the number of read bytes as well as the existing datapoints. This will also enable future additions without breaking the interface.The text was updated successfully, but these errors were encountered: