Skip to content

Commit

Permalink
Merge pull request #15216 from yeya24/log-last-series-labels
Browse files Browse the repository at this point in the history
  • Loading branch information
aknuds1 committed Nov 5, 2024
2 parents 1a2848d + e2e01c1 commit d94c7b9
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 @@ -439,7 +439,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 d94c7b9

Please sign in to comment.