filterlog

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher interface {
	MatchLogRecord(lr pdata.LogRecord, resource pdata.Resource, library pdata.InstrumentationLibrary) bool
}

TODO: Modify Matcher to invoke both the include and exclude properties so calling processors will always have the same logic. Matcher is an interface that allows matching a log record against a configuration of a match.

func NewMatcher

func NewMatcher(mp *filterconfig.MatchProperties) (Matcher, error)

NewMatcher creates a LogRecord Matcher that matches based on the given MatchProperties.

Jump to

Keyboard shortcuts

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