mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
log last series labelset when hitting OOO series labels during compaction
Signed-off-by: Ben Ye <benye@amazon.com>
This commit is contained in:
parent
3cb09acb21
commit
99882eec3b
|
@ -438,7 +438,7 @@ func (w *Writer) AddSeries(ref storage.SeriesRef, lset labels.Labels, chunks ...
|
|||
return err
|
||||
}
|
||||
if labels.Compare(lset, w.lastSeries) <= 0 {
|
||||
return fmt.Errorf("out-of-order series added with label set %q", lset)
|
||||
return fmt.Errorf("out-of-order series added with label set %q, last label set %q", lset, w.lastSeries)
|
||||
}
|
||||
|
||||
if ref < w.lastSeriesRef && !w.lastSeries.IsEmpty() {
|
||||
|
|
Loading…
Reference in a new issue