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
Click to show internal directories.
Click to hide internal directories.