Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeApproximateRequestSize ¶
ComputeApproximateRequestSize for computing the http request size
func SanitizeCode ¶
SanitizeCode for sanitizing http code If the wrapped http.Handler has not set a status code, i.e. the value is currently 0, santizeCode will return 200, for consistency with behavior in the stdlib.
func SanitizeMethod ¶
SanitizeMethod for sanitizing http request method function from prometheus promhttp package
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.