Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultSleepDuration = 1 * time.Second
DefaultSleepDuration represents the amount of time the tailer waits before reading new data when no data is received
Variables ¶
This section is empty.
Functions ¶
func CheckProcessTelemetry ¶
func CheckProcessTelemetry(stats *util.ProcessFileStats)
Types ¶
type Launcher ¶
type Launcher struct {
// contains filtered or unexported fields
}
Launcher checks all files provided by fileProvider and create new tailers or update the old ones if needed
func NewLauncher ¶
func NewLauncher(tailingLimit int, tailerSleepDuration time.Duration, validatePodContainerID bool, scanPeriod time.Duration, wildcardMode string, flarecontroller *flareController.FlareController, tagger tagger.Component) *Launcher
NewLauncher returns a new launcher.
Click to show internal directories.
Click to hide internal directories.