Discover Packages
github.com/open-telemetry/opentelemetry-collector
internal
processor
filterset
regexp
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Mar 30, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package regexp provides an implementation to match strings against a set of regexp string filters.
NewRegexpFilterSet constructs a FilterSet of re2 regex strings.
If any of the given filters fail to compile into re2, an error is returned.
type Option func(*regexpFilterSet)
Option is the type for regexp filtering options that can be passed to NewRegexpFilterSet.
WithCache enables an LRU cache that stores the previous results of calls to Matches.
The cache's max number of entries is set to maxNumEntries. Passing a value of 0 results in an unlimited cache size.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.