Chunk utilization is incorrect for transferred chunks #1412
Labels
component/loki
keepalive
An issue or PR that will be kept alive and never marked as stale.
type/bug
Somehing is not working as expected
We first noticed that
loki_ingester_chunk_utilization_sum
was being reported as NaN. After some investigation, it seems clear that the only cause would be transferred chunks: they don't have an uncompressed size, block size, target size, or cut block size set. This will always result in a division by zero when calculating utilization.To Reproduce
Steps to reproduce the behavior:
loki_ingester_chunk_utilization_sum
.Expected behavior
The value should not be NaN.
The text was updated successfully, but these errors were encountered: