ebpf

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultArguments = NewDefaultArguments()

Functions

func New

Types

type Arguments

type Arguments struct {
	ForwardTo            []pyroscope.Appendable `alloy:"forward_to,attr"`
	Targets              []discovery.Target     `alloy:"targets,attr,optional"`
	CollectInterval      time.Duration          `alloy:"collect_interval,attr,optional"`
	SampleRate           int                    `alloy:"sample_rate,attr,optional"`
	PidCacheSize         int                    `alloy:"pid_cache_size,attr,optional"`
	BuildIDCacheSize     int                    `alloy:"build_id_cache_size,attr,optional"`
	SameFileCacheSize    int                    `alloy:"same_file_cache_size,attr,optional"`
	ContainerIDCacheSize int                    `alloy:"container_id_cache_size,attr,optional"`
	CacheRounds          int                    `alloy:"cache_rounds,attr,optional"`
	CollectUserProfile   bool                   `alloy:"collect_user_profile,attr,optional"`
	CollectKernelProfile bool                   `alloy:"collect_kernel_profile,attr,optional"`
	Demangle             string                 `alloy:"demangle,attr,optional"`
	PythonEnabled        bool                   `alloy:"python_enabled,attr,optional"`
	SymbolsMapSize       int                    `alloy:"symbols_map_size,attr,optional"`
	PIDMapSize           int                    `alloy:"pid_map_size,attr,optional"`
}

func NewDefaultArguments added in v1.1.0

func NewDefaultArguments() Arguments

NewDefaultArguments create the default settings for a scrape job.

func (*Arguments) SetToDefault added in v1.1.0

func (arg *Arguments) SetToDefault()

SetToDefault implements syntax.Defaulter.

func (*Arguments) Validate added in v1.1.0

func (arg *Arguments) Validate() error

Validate implements syntax.Validator.

type Component

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

func (*Component) DebugInfo

func (c *Component) DebugInfo() interface{}

func (*Component) Run

func (c *Component) Run(ctx context.Context) error

func (*Component) Update

func (c *Component) Update(args component.Arguments) error

type DebugInfo

type DebugInfo struct {
	Targets interface{} `alloy:"targets,attr,optional"`
	Session interface{} `alloy:"session,attr,optional"`
}

Jump to

Keyboard shortcuts

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