agent

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelfProfile

func SelfProfile(cfg *config.Config, u upstream.Upstream, appName string)

Types

type Agent

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

func New

func New(cfg *config.Config) *Agent

func (*Agent) Start

func (a *Agent) Start()

func (*Agent) Stop

func (a *Agent) Stop()

type ProfileSession

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

func NewSession

func NewSession(upstream upstream.Upstream, appName string, spyName string, sampleRate int, pid int, withSubprocesses bool) *ProfileSession

func (*ProfileSession) Start

func (ps *ProfileSession) Start() error

func (*ProfileSession) Stop

func (ps *ProfileSession) Stop()

Directories

Path Synopsis
Package csock implements a control socket with a simple human-readable API
Package csock implements a control socket with a simple human-readable API
Package profiler is a public API golang apps should use to send data to pyroscope server.
Package profiler is a public API golang apps should use to send data to pyroscope server.
Package spy contains an interface (Spy) and functionality to register new spies
Package spy contains an interface (Spy) and functionality to register new spies

Jump to

Keyboard shortcuts

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