Documentation ¶
Overview ¶
Package ignoremismatch contains to logic to mark mismatches in log records as ignored based on provided rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MismatchIgnorer ¶
type MismatchIgnorer struct {
// contains filtered or unexported fields
}
MismatchIgnorer checkes mismatches in the log records and mark a mismatch as ignored if any mismatch ignoring rule matches it.
func New ¶
func New(configPath string) (*MismatchIgnorer, error)
New creates a mismatch ignorer from a textproto file containing the rule config.
func (*MismatchIgnorer) ProcessLogRecord ¶
func (mi *MismatchIgnorer) ProcessLogRecord(r *lpb.LogRecord)
ProcessLogRecord marks a mismatch in the log record as ignored if any mismatch ignoring rule matches it.
Click to show internal directories.
Click to hide internal directories.