Skip to content

Commit

Permalink
Remove unnecessary ingester fields from metrics.go which only work in…
Browse files Browse the repository at this point in the history
… single binary (#12005)

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
  • Loading branch information
Danny Kopping committed Feb 21, 2024
1 parent 8bbb892 commit f9d1886
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/logql/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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(),
}...)
Expand Down

0 comments on commit f9d1886

Please sign in to comment.