diff --git a/libs/tenant_size_model/src/calculation.rs b/libs/tenant_size_model/src/calculation.rs index d54876ba2c..77e72035ee 100644 --- a/libs/tenant_size_model/src/calculation.rs +++ b/libs/tenant_size_model/src/calculation.rs @@ -77,7 +77,9 @@ impl StorageModel { } SizeResult { - total_size, + // If total_size is 0, it means that the tenant has all timelines offloaded; we need to report 1 + // here so that the data point shows up in the s3 files. + total_size: total_size.max(1), segments: segment_results, } }