Documentation ¶
Index ¶
- type TraceSamplingManager
- func (m *TraceSamplingManager) AddHostToTrace(component string, apiID uint32) error
- func (m *TraceSamplingManager) GetHostsToTrace(component string, traceSourceID uint) ([]string, error)
- func (m *TraceSamplingManager) GetHostsToTraceByComponent(component string) (map[uint][]string, error)
- func (m *TraceSamplingManager) GetHostsToTraceByTraceSource(component string, traceSourceID uint) ([]string, error)
- func (m *TraceSamplingManager) RemoveHostToTrace(component string, apiID uint32) error
- func (m *TraceSamplingManager) ResetForComponent(component string) error
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
Click to show internal directories.
Click to hide internal directories.