Versions in this module Expand all Collapse all v1 v1.8.2 Nov 4, 2017 Changes in this version + type Interval struct + NewestInclusive model.Time + OldestInclusive model.Time + type LabelMatcher struct + Name model.LabelName + Type MatchType + Value model.LabelValue + func NewLabelMatcher(matchType MatchType, name model.LabelName, value model.LabelValue) (*LabelMatcher, error) + func (m *LabelMatcher) Filter(in model.LabelValues) model.LabelValues + func (m *LabelMatcher) Match(v model.LabelValue) bool + func (m *LabelMatcher) MatchesEmptyString() bool + func (m *LabelMatcher) String() string + type LabelMatchers []*LabelMatcher + func (lms LabelMatchers) Len() int + func (lms LabelMatchers) Less(i, j int) bool + func (lms LabelMatchers) String() string + func (lms LabelMatchers) Swap(i, j int) + type MatchType int + const Equal + const NotEqual + const RegexMatch + const RegexNoMatch + func (m MatchType) String() string + type Metric struct + Copied bool + Metric model.Metric + func (m *Metric) Copy() *Metric + func (m *Metric) Del(ln model.LabelName) + func (m *Metric) Get(ln model.LabelName) model.LabelValue + func (m *Metric) Gets(ln model.LabelName) (model.LabelValue, bool) + func (m *Metric) Set(ln model.LabelName, lv model.LabelValue) + func (m Metric) String() string