pprof

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package pprof contains a pprof exporter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PPROF

type PPROF struct {
	Address     string
	ReadTimeout conf.StringDuration
	AuthManager *auth.Manager
	Parent      pprofParent
	// contains filtered or unexported fields
}

PPROF is a pprof exporter.

func (*PPROF) Close

func (pp *PPROF) Close()

Close closes PPROF.

func (*PPROF) Initialize

func (pp *PPROF) Initialize() error

Initialize initializes PPROF.

func (*PPROF) Log

func (pp *PPROF) Log(level logger.Level, format string, args ...interface{})

Log implements logger.Writer.

func (*PPROF) ServeHTTP added in v1.6.0

func (pp *PPROF) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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