package
0.0.0-20191121140916-9649366ff4b2
Repository: https://github.com/chronosphereiox/m3.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

EmptyTags returns empty tags with a default tag options.
MatchersFromString parses a string into Matchers TODO: make this more robust, handle types other than MatchEqual.
MustMakeTags creates tags given that the number of args is even.
NewMatcher returns a matcher object.
NewQueryContext constructs a QueryContext using the given Enforcer to enforce per query limits.
NewTagOptions builds a new tag options with default values.
NewTags builds a tags with the given size and tag options.
NoopQueryContext returns a query context with no active components.

# Constants

FormatM3QL returns results in M3QL format.
FormatPromQL returns results in Prom format.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
TypeDecodedBlock represents a single block which contains all fetched series which get decoded.
TypeDefault is an invalid scheme that indicates that the default scheme for the tag options version option should be used.
TypeGraphite describes a scheme where IDs are generated to match graphite representation of the tags.
TypeLegacy describes a scheme where IDs are generated by appending tag name/value pairs with = and , separators.
TypeMultiBlock represents multiple blocks, each containing a time-based slice of encoded fetched series.
TypePrependMeta describes a scheme where IDs are generated by prepending the length of each tag at the start of the ID {t1:v1},{t2:v2} -> 2,2,2,2!t1v1t2v2 {t1:v1,t2:v2} -> 2,8!t1v1,t2:v2 {"t1":"v1"} -> 4,4!"t1""v1".
TypeQuoted describes a scheme where IDs are generated by appending tag names with explicitly quoted and escaped tag values.
TypeSingleBlock represents a single block which contains each encoded fetched series.

# Structs

Bounds are the time bounds, start time is inclusive but end is exclusive.
Matcher models the matching of a label.
Metric is the individual metric that gets returned from the search endpoint.
QueryContext provides all external state needed to execute and track a query.
QueryContextOptions contains optional configuration for the query context.
RequestParams represents the params from the request.
RestrictFetchTypeQueryContextOptions allows for specifying the restrict options for a query.
Tag is a key/value metric tag pair.
Tags represents a set of tags with options.

# Interfaces

TagOptions describes additional options for tags.

# Type aliases

FetchedBlockType determines the type for fetched blocks, and how they are transformed from storage type.
FormatType describes what format to return the data in.
IDSchemeType determines the scheme for generating series IDs based on their tags.
Matchers is a list of individual matchers.
MatchType is an enum for label matching types.
Metrics is a list of individual metrics.