package
0.0.0-20180929161911-5c6aed344a0c
Repository: https://github.com/m3db/m3metrics.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewMatcher creates a new rule matcher.
No description provided by the author
NewNamespaces creates a new namespaces object.
NewOptions creates a new set of options.
# Structs
Configuration is config used to create a Matcher.
Mock of Matcher interface.
# 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.