debuginfo

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Appender

type Appender interface {
	Upload(j UploadJob)
	DebugInfoClients() []*debuginfoclient.Client
}

type Arguments

type Arguments struct {
	OnTargetSymbolizationEnabled bool   `alloy:"on_target_symbolization,attr,optional"`
	UploadEnabled                bool   `alloy:"upload,attr,optional"`
	CacheSize                    uint32 `alloy:"cache_size,attr,optional"`
	StripTextSection             bool   `alloy:"strip_text_section,attr,optional"`
	QueueSize                    uint32 `alloy:"queue_size,attr,optional"`
	WorkerNum                    int    `alloy:"worker_num,attr,optional"`
}

type UploadJob

type UploadJob struct {
	FrameMappingFileData libpf.FrameMappingFileData
	Open                 func() (process.ReadAtCloser, error)
	// InitArguments is the structure used to create a new uploader.
	// It is passed as the job field to have the configuration in the ebpf component instead of write component,
	// to not confuse users.
	InitArguments Arguments
}

type Uploader added in v1.16.0

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

func NewUploader added in v1.16.0

func NewUploader(logger log.Logger, client *debuginfoclient.Client,
	metric prometheus.Counter, dataPath string) *Uploader

func (*Uploader) DebugInfoClients added in v1.16.0

func (c *Uploader) DebugInfoClients() []*debuginfoclient.Client

func (*Uploader) Run added in v1.16.0

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

func (*Uploader) Upload added in v1.16.0

func (c *Uploader) Upload(j UploadJob)

Jump to

Keyboard shortcuts

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