From 9692166a12c77e43e603e472053fef766f27be1c Mon Sep 17 00:00:00 2001 From: gagliardetto Date: Wed, 11 Dec 2024 23:15:17 +0100 Subject: [PATCH] Fix prometheus --- http-range.go | 1 + 1 file changed, 1 insertion(+) diff --git a/http-range.go b/http-range.go index d03346fb..31170044 100644 --- a/http-range.go +++ b/http-range.go @@ -63,6 +63,7 @@ func (r *readCloserWrapper) ReadAt(p []byte, off int64) (n int, err error) { metrics.IndexLookupHistogram.WithLabelValues( indexName, boolToString(r.isRemote), + boolToString(r.isSplitCar), ).Observe(float64(took.Seconds())) }