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 (c *Client) Client() debuginfogrpc.DebuginfoServiceClient
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
}
Click to show internal directories.
Click to hide internal directories.