package
0.0.0-20180929161911-5c6aed344a0c
Repository: https://github.com/m3db/m3metrics.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewEmptyRuleSet returns an empty ruleset to be used with a new namespace.
NewMatchResult creates a new match result.
No description provided by the author
NewNamespaces creates new namespaces.
NewOptions creates a new set of options.
NewRuleSetFromProto creates a new RuleSet from a proto object.
NewRuleSetUpdateHelper creates a new RuleSetUpdateHelper struct.

# Variables

EmptyMatchResult is the result when no matches were found.

# Structs

IDWithMetadatas is a pair of metric ID and the associated staged metadatas.
MatchResult represents a match result.
Mock of Store interface.
Namespace stores namespace snapshots.
Namespaces store the list of namespaces for which rules are defined.
NamespaceSnapshot defines a namespace snapshot for which rules are defined.
RuleSetUpdateHelper stores the necessary details to create an UpdateMetadata.
UpdateMetadata contains descriptive information that needs to be updated with any modification of the ruleset.

# Interfaces

Matcher matches metrics against rules to determine applicable policies.
MutableRuleSet is mutable ruleset.
Options provide a set of options for rule matching.
RuleSet is a read-only set of rules associated with a namespace.
Store performs read/write operations for rules and namespaces.
Validator validates a ruleset.

# Type aliases

IDWithMetadatasByIDAsc sorts a list of ID with metadatas by metric ID in ascending order.