Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Context is a context to signal stops, cancellations. Context context.Context // MessageSubstrings contains a list of substrings belonging to the // logs that should be deduplicated. MessageSubstrings []string // Clock is a clock to override in tests, set to real time clock // by default. Clock clockwork.Clock }
Config contains the log limiter config.
type LogLimiter ¶
type LogLimiter struct {
// contains filtered or unexported fields
}
LogLimiter deduplicates logs over a certain time window.
Click to show internal directories.
Click to hide internal directories.