sdks

package
v1.0.123 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGoInstrumentationFactory

func NewGoInstrumentationFactory(kubeclient client.Client) ebpf.InstrumentationFactory[*GoOtelEbpfSdk]

Types

type GoInstrumentationFactory

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

func (*GoInstrumentationFactory) CreateEbpfInstrumentation

func (g *GoInstrumentationFactory) CreateEbpfInstrumentation(ctx context.Context, pid int, serviceName string, podWorkload *workload.PodWorkload, containerName string, podName string, loadedIndicator chan struct{}) (*GoOtelEbpfSdk, error)

type GoOtelEbpfSdk

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

func (*GoOtelEbpfSdk) ApplyConfig

func (g *GoOtelEbpfSdk) ApplyConfig(ctx context.Context, instConfig *odigosv1.InstrumentationConfig) error

func (*GoOtelEbpfSdk) Close

func (g *GoOtelEbpfSdk) Close(ctx context.Context) error

func (*GoOtelEbpfSdk) Run

func (g *GoOtelEbpfSdk) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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