Documentation ¶ Index ¶ func Labels(next http.Handler) http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Labels ¶ func Labels(next http.Handler) http.Handler Labels is a middleware function that adds pprof labels to the context of the incoming HTTP request. These labels include the request path and method. The updated context is then used to serve the HTTP request. Types ¶ This section is empty. Source Files ¶ View all Source files pprof_labels.go Click to show internal directories. Click to hide internal directories.