Versions in this module Expand all Collapse all v0 v0.2.1 Sep 22, 2015 Changes in this version + const BucketLabel + const Earliest + const ExporterLabelPrefix + const JobLabel + const Latest + const MetricNameLabel + const MinimumTick + const QuantileLabel + const ReservedLabelPrefix + const SeparatorByte + func LabelsToSignature(labels map[string]string) uint64 + func SignatureForLabels(m Metric, labels LabelNames) uint64 + func SignatureWithoutLabels(m Metric, labels map[LabelName]struct{}) uint64 + type COWMetric struct + Copied bool + Metric Metric + func (m *COWMetric) Delete(ln LabelName) + func (m *COWMetric) Set(ln LabelName, lv LabelValue) + func (m COWMetric) MarshalJSON() ([]byte, error) + func (m COWMetric) String() string + type Fingerprint uint64 + func (f *Fingerprint) LoadFromString(s string) error + func (f Fingerprint) Equal(o Fingerprint) bool + func (f Fingerprint) Less(o Fingerprint) bool + func (f Fingerprint) String() string + type FingerprintSet map[Fingerprint]struct + func (s FingerprintSet) Equal(o FingerprintSet) bool + func (s FingerprintSet) Intersection(o FingerprintSet) FingerprintSet + type Fingerprints []Fingerprint + func (f Fingerprints) Len() int + func (f Fingerprints) Less(i, j int) bool + func (f Fingerprints) Swap(i, j int) + type LabelName string + type LabelNames []LabelName + func (l LabelNames) Len() int + func (l LabelNames) Less(i, j int) bool + func (l LabelNames) String() string + func (l LabelNames) Swap(i, j int) + type LabelSet map[LabelName]LabelValue + func (l LabelSet) Merge(other LabelSet) LabelSet + func (l LabelSet) MergeFromMetric(m Metric) + func (l LabelSet) String() string + type LabelValue string + type LabelValues []LabelValue + func (l LabelValues) Len() int + func (l LabelValues) Less(i, j int) bool + func (l LabelValues) Swap(i, j int) + type Metric map[LabelName]LabelValue + func (m Metric) Before(o Metric) bool + func (m Metric) Clone() Metric + func (m Metric) Equal(o Metric) bool + func (m Metric) Fingerprint() Fingerprint + func (m Metric) MergeFromLabelSet(labels LabelSet, collisionPrefix LabelName) + func (m Metric) String() string + type Sample struct + Metric Metric + Timestamp Timestamp + Value SampleValue + func (s *Sample) Equal(o *Sample) bool + type SampleValue float64 + func (v SampleValue) Equal(o SampleValue) bool + func (v SampleValue) MarshalJSON() ([]byte, error) + func (v SampleValue) String() string + type Samples []*Sample + func (s Samples) Equal(o Samples) bool + func (s Samples) Len() int + func (s Samples) Less(i, j int) bool + func (s Samples) Swap(i, j int) + type Timestamp int64 + func Now() Timestamp + func TimestampFromTime(t native_time.Time) Timestamp + func TimestampFromUnix(t int64) Timestamp + func TimestampFromUnixNano(t int64) Timestamp + func (t Timestamp) Add(d native_time.Duration) Timestamp + func (t Timestamp) After(o Timestamp) bool + func (t Timestamp) Before(o Timestamp) bool + func (t Timestamp) Equal(o Timestamp) bool + func (t Timestamp) MarshalJSON() ([]byte, error) + func (t Timestamp) String() string + func (t Timestamp) Sub(o Timestamp) native_time.Duration + func (t Timestamp) Time() native_time.Time + func (t Timestamp) Unix() int64 + func (t Timestamp) UnixNano() int64