pprof_labels_middleware

package
v0.0.0-...-1b9c836 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL