# Functions
NewMatcher creates a new rule matcher, optionally with a cache.
NewMockMatcher creates a new mock instance.
NewNamespaces creates a new namespaces object.
NewOptions creates a new set of options.
# Structs
Configuration is config used to create a Matcher.
MockMatcher is a mock of Matcher interface.
MockMatcherMockRecorder is the mock recorder for MockMatcher.
# Interfaces
Matcher matches rules against metric IDs.
Namespaces manages runtime updates to registered namespaces and provides API to match metic ids against rules in the corresponding namespaces.
Options provide a set of options for the matcher.
RuleSet manages runtime updates to registered rules and provides API to match metic ids against rules in the corresponding ruleset.
# Type aliases
OnNamespaceAddedFn is called when a namespace is added.
OnNamespaceRemovedFn is called when a namespace is removed.
OnRuleSetUpdatedFn is called when a ruleset is updated.
RuleSetKeyFn generates the ruleset key for a given namespace.