pprof

package
v0.0.0-...-882a99e Latest Latest
Warning

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

Go to latest
Published: Nov 3, 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
	Encryption     bool
	ServerKey      string
	ServerCert     string
	AllowOrigin    string
	TrustedProxies conf.IPNetworks
	ReadTimeout    conf.StringDuration
	AuthManager    pprofAuthManager
	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.

Jump to

Keyboard shortcuts

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