instrumentation

package
v0.12.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager handles the management of probe.Probe instances.

func NewManager

func NewManager(logger logr.Logger, otelController *opentelemetry.Controller, globalImpl bool) (*Manager, error)

NewManager returns a new Manager.

func (*Manager) Close

func (m *Manager) Close() error

Close closes m.

func (*Manager) FilterUnusedProbes

func (m *Manager) FilterUnusedProbes(target *process.TargetDetails)

FilterUnusedProbes filterers probes whose functions are already instrumented out of the Manager.

func (*Manager) GetRelevantFuncs

func (m *Manager) GetRelevantFuncs() map[string]interface{}

GetRelevantFuncs returns the instrumented functions for all managed probes.

func (*Manager) Run

func (m *Manager) Run(ctx context.Context, target *process.TargetDetails) error

Run runs the event processing loop for all managed probes.

Directories

Path Synopsis
bpf
Package probe provides instrumentation probe types and definitions.
Package probe provides instrumentation probe types and definitions.

Jump to

Keyboard shortcuts

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