From 3464d6a34f48c17a5086ef513b6fd6cc331757bd Mon Sep 17 00:00:00 2001 From: Salva Corts Date: Fri, 4 Aug 2023 12:21:23 +0200 Subject: [PATCH] Add total bytes processed for non-indexed labels --- pkg/logql/metrics.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/logql/metrics.go b/pkg/logql/metrics.go index 13836f94917ef..943f1316e7c9b 100644 --- a/pkg/logql/metrics.go +++ b/pkg/logql/metrics.go @@ -129,6 +129,7 @@ func RecordRangeAndInstantQueryMetrics( "returned_lines", returnedLines, "throughput", strings.Replace(humanize.Bytes(uint64(stats.Summary.BytesProcessedPerSecond)), " ", "", 1), "total_bytes", strings.Replace(humanize.Bytes(uint64(stats.Summary.TotalBytesProcessed)), " ", "", 1), + "total_bytes_non_indexed_labels", strings.Replace(humanize.Bytes(uint64(stats.Summary.TotalNonIndexedLabelsBytesProcessed)), " ", "", 1), "lines_per_second", stats.Summary.LinesProcessedPerSecond, "total_lines", stats.Summary.TotalLinesProcessed, "post_filter_lines", stats.Summary.TotalPostFilterLines,