profile

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

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

func NewMonitor

func NewMonitor(config *repo.Config) (*Monitor, error)

func (*Monitor) ReConfig

func (m *Monitor) ReConfig(config *repo.Config) error

ReConfig reconfigure prometheus monitor

func (*Monitor) Start

func (m *Monitor) Start() error

Start start prometheus monitor

func (*Monitor) Stop

func (m *Monitor) Stop() error

Stop start prometheus monitor

type Pprof

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

func NewPprof

func NewPprof(config *repo.Config) (*Pprof, error)

func (*Pprof) ReConfig

func (p *Pprof) ReConfig(config *repo.Config) error

ReConfig reconfigure prometheus monitor

func (*Pprof) Start

func (p *Pprof) Start() error

func (*Pprof) Stop

func (p *Pprof) Stop() error

Jump to

Keyboard shortcuts

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