pprof_labels_middleware

package
v0.0.0-...-9dfb24e Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 2 Imported by: 2

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