From eed7f8da1761959de6ce6d1c7a40260307bbd5b1 Mon Sep 17 00:00:00 2001 From: bwplotka Date: Fri, 6 Feb 2026 09:58:02 +0000 Subject: [PATCH] [EXPERIMENT] Exaggerated RefSample extension Signed-off-by: bwplotka --- tsdb/record/record.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tsdb/record/record.go b/tsdb/record/record.go index 106b8e51bc..db4cb22890 100644 --- a/tsdb/record/record.go +++ b/tsdb/record/record.go @@ -160,9 +160,13 @@ type RefSeries struct { // RefSample is a timestamp/value pair associated with a reference to a series. // TODO(beorn7): Perhaps make this "polymorphic", including histogram and float-histogram pointers? Then get rid of RefHistogramSample. type RefSample struct { - Ref chunks.HeadSeriesRef - T int64 - V float64 + Ref chunks.HeadSeriesRef + ST, T int64 + V float64 + + // Exaggerated extension of the core struct to debug + // https://github.com/prometheus/prometheus/issues/18022#issuecomment-3858987142 + SomeOtherField1, SomeOtherField2, SomeOtherField3, SomeOtherField4, SomeOtherField5, SomeOtherField6, SomeOtherField7 int64 } // RefMetadata is the metadata associated with a series ID.