# Packages
No description provided by the author
# Functions
EmptyTags returns empty tags with a default tag options.
IsValid is true if the label name matches the pattern of "^[a-zA-Z_][a-zA-Z0-9_]*$".
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 from the provided native context.
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.
TagsFromProto converts proto tags to models.Tags.
# Constants
FormatPromQL returns results in Prom format.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
Possible MatchTypes.
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.
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.
# Variables
ErrMultiBlockDisabled indicates multi blocks are temporarily disabled.
# Structs
Bounds are the time bounds, start time is inclusive but end is exclusive.
Filter is a regex tag filter.
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
Label is used to unify logic for prometheus and m3 style labels.
TagOptions describes additional options for tags.
# Type aliases
FetchedBlockType determines the type for fetched blocks, and how they are transformed from storage type.
Filters is a set of tag filters.
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.