pprof

package module
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pprof

type Pprof interface {
	Start()
	Stop()
}

func NewPprof

func NewPprof(cfg *configv1.Pprof) (Pprof, error)

func NewPyroscope

func NewPyroscope(cfg *configv1.Pprof_Pyroscope) (Pprof, error)

NewPyroscope 创建一个服务监控

type Pyroscope

type Pyroscope struct {
	// contains filtered or unexported fields
}

Pyroscope 封装 Pyroscope 性能采样器实例。

func (*Pyroscope) Start

func (p *Pyroscope) Start()

Start 启动 Pyroscope 性能采样上报。

func (*Pyroscope) Stop

func (p *Pyroscope) Stop()

Stop 停止 Pyroscope 性能采样上报。

Jump to

Keyboard shortcuts

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