sampling

package
v0.0.0-...-37aa375 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TraceSamplingManager

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

func CreateTraceSamplingManager

func CreateTraceSamplingManager(dbHandler *database.Handler, config *_globalConfig.Config, clientset kubernetes.Interface, errChan chan struct{}) (*TraceSamplingManager, error)

func (*TraceSamplingManager) AddHostToTrace

func (m *TraceSamplingManager) AddHostToTrace(component string, apiID uint32) error

func (*TraceSamplingManager) GetHostsToTrace

func (m *TraceSamplingManager) GetHostsToTrace(component string, traceSourceID uint) ([]string, error)

func (*TraceSamplingManager) GetHostsToTraceByComponent

func (m *TraceSamplingManager) GetHostsToTraceByComponent(component string) (map[uint][]string, error)

func (*TraceSamplingManager) GetHostsToTraceByTraceSource

func (m *TraceSamplingManager) GetHostsToTraceByTraceSource(component string, traceSourceID uint) ([]string, error)

func (*TraceSamplingManager) RemoveHostToTrace

func (m *TraceSamplingManager) RemoveHostToTrace(component string, apiID uint32) error

func (*TraceSamplingManager) ResetForComponent

func (m *TraceSamplingManager) ResetForComponent(component string) error

Jump to

Keyboard shortcuts

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