debuginfo

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 10 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 dispatches the job recursively to each of the nested children, down to each write component,
	//down to Client and therefore parca's uploader
	Upload(j UploadJob)
	// Client returns the direct grpc client of the first nested child (down to write component)
	// this is a best-effort support for the proxy case - we do not support fan-out for proxy only one-to-one
	// forwarding to the first write endpoint.
	Client() debuginfogrpc.DebuginfoServiceClient
}

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 Client

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

Client is per write-endpoint debug info upload client This structure serves two purposes:

  • return the grpc client to the receive_http component
  • perform the debug info upload from the current host by the ebpf profiler request

func NewClient

func NewClient(logger log.Logger, newClient func() (*grpc.ClientConn, error),
	metric prometheus.Counter, dataPath string) *Client

func (*Client) Client

func (*Client) Run

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

func (*Client) Upload

func (c *Client) Upload(j UploadJob)

type UploadJob

type UploadJob struct {
	FrameMappingFileData libpf.FrameMappingFileData
	Open                 func() (process.ReadAtCloser, error)
	// InitArguments is the structure used to create a new parca 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
}

Jump to

Keyboard shortcuts

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