Documentation ¶
Overview ¶
Package beyla provides public access to Beyla as a library. All the other subcomponents of Beyla are hidden.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config as provided by the user to configure and run Beyla
func LoadConfig ¶
LoadConfig loads and validates configuration. Configuration from multiple source is overridden in the following order (from less to most priority): 1 - Default configuration 2 - Contents of the provided file reader (nillable) 3 - Environment variables
type Instrumenter ¶
type Instrumenter struct {
// contains filtered or unexported fields
}
Instrumenter finds and instrument a service/process, and forwards the traces as configured by the user
func (*Instrumenter) FindAndInstrument ¶
func (i *Instrumenter) FindAndInstrument(ctx context.Context) error
FindAndInstrument searches in background for any new executable matching the selection criteria.
func (*Instrumenter) ReadAndForward ¶
func (i *Instrumenter) ReadAndForward(ctx context.Context) error
ReadAndForward keeps listening for traces in the BPF map, then reads, processes and forwards them