diff --git a/model/labels/matcher.go b/model/labels/matcher.go index c0d186b482..ed57b447e4 100644 --- a/model/labels/matcher.go +++ b/model/labels/matcher.go @@ -111,6 +111,7 @@ func (m *Matcher) Inverse() (*Matcher, error) { panic("labels.Matcher.Matches: invalid match type") } +// GetRegexString returns the regex string. func (m *Matcher) GetRegexString() string { if m.re == nil { return "" diff --git a/tsdb/head_append.go b/tsdb/head_append.go index c495f3dba1..a14758564a 100644 --- a/tsdb/head_append.go +++ b/tsdb/head_append.go @@ -1168,7 +1168,7 @@ func addJitterToChunkEndTime(seriesHash uint64, chunkMinTime, nextAt, maxNextAt } // Compute the variance to apply to the chunk end time. The variance is based on the series hash so that - // different TSDBs ingesting the same exact samples (e.g. in a distributed system like Cortex) will have + // different TSDBs ingesting the same exact samples (e.g. in a distributed system like Mimir) will have // the same chunks for a given period. chunkDuration := nextAt - chunkMinTime chunkDurationMaxVariance := int64(float64(chunkDuration) * variance)