profiling

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package profiling exposes net/http/pprof profiling endpoints on a dedicated listener. It uses go-bits/pprofapi, which wraps net/http/pprof behind a gorilla/mux router so that the pprof handlers are never registered on http.DefaultServeMux (which Archer's Prometheus listeners rely on).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Start launches the pprof listener in a goroutine if profiling is enabled. Access is restricted to requests originating from localhost.

Types

This section is empty.

Jump to

Keyboard shortcuts

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