Skip to content

Commit

Permalink
Merge pull request prometheus#15216 from yeya24/log-last-series-labels
Browse files Browse the repository at this point in the history
log last series labelset when hitting OOO series labels
  • Loading branch information
bboreham authored Nov 1, 2024
2 parents dd4eb45 + 99882ee commit e2e01c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsdb/index/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e2e01c1

Please sign in to comment.