spy

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package spy contains an interface (Spy) and functionality to register new spies

Index

Constants

View Source
const (
	ProfileCPU          ProfileType = "cpu"
	ProfileInuseObjects ProfileType = "inuse_objects"
	ProfileAllocObjects ProfileType = "alloc_objects"
	ProfileInuseSpace   ProfileType = "inuse_space"
	ProfileAllocSpace   ProfileType = "alloc_space"

	Go     = "gospy"
	EBPF   = "ebpfspy"
	Python = "pyspy"
	Ruby   = "rbspy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Labels

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

func NewLabels

func NewLabels() *Labels

func (*Labels) ID

func (l *Labels) ID() string

func (*Labels) Set

func (l *Labels) Set(key, val string)

func (*Labels) Tags

func (l *Labels) Tags() map[string]string

type ProfileType

type ProfileType string

func (ProfileType) AggregationType

func (t ProfileType) AggregationType() metadata.AggregationType

func (ProfileType) IsCumulative

func (t ProfileType) IsCumulative() bool

func (ProfileType) Units

func (t ProfileType) Units() metadata.Units

Jump to

Keyboard shortcuts

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