From eb1379afb9518e7c3edbe85dbe409edf2b6c5b87 Mon Sep 17 00:00:00 2001 From: Danny Kopping Date: Tue, 20 Feb 2024 19:54:02 +0200 Subject: [PATCH] Remove unnecessary ingester fields from metrics.go which only work in single binary (#12005) Signed-off-by: Danny Kopping --- pkg/logql/metrics.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/logql/metrics.go b/pkg/logql/metrics.go index 694acefbc574e..f9b9d1a8f952b 100644 --- a/pkg/logql/metrics.go +++ b/pkg/logql/metrics.go @@ -177,8 +177,6 @@ func RecordRangeAndInstantQueryMetrics( "ingester_chunk_refs", stats.Ingester.Store.GetTotalChunksRef(), // Total number of chunks fetched. "ingester_chunk_downloaded", stats.Ingester.Store.GetTotalChunksDownloaded(), - // Time spent fetching chunks in nanoseconds. - "ingester_chunk_fetch_time", stats.Ingester.Store.ChunksDownloadDuration(), // Total of chunks matched by the query from ingesters. "ingester_chunk_matches", stats.Ingester.GetTotalChunksMatched(), // Total ingester reached for this query. @@ -189,8 +187,6 @@ func RecordRangeAndInstantQueryMetrics( "ingester_chunk_compressed_bytes", humanizeBytes(uint64(stats.Ingester.Store.Chunk.GetCompressedBytes())), // Total bytes decompressed and processed from chunks. Includes structured metadata bytes. "ingester_chunk_decompressed_bytes", humanizeBytes(uint64(stats.Ingester.Store.Chunk.GetDecompressedBytes())), - // Total duplicates found while processing. - "ingester_chunk_duplicates", stats.Ingester.Store.Chunk.GetTotalDuplicates(), // Total lines post filtering. "ingester_post_filter_lines", stats.Ingester.Store.Chunk.GetPostFilterLines(), }...)