fix an incorrect backup metric

This commit is contained in:
Ravi Khadiwala authored and ravi-signal committed 2025-07-07 18:14:53 +02:00
1 parent a87690d817
commit 7dddc4d759
1 file changed
+1 -1
@@ -297,7 +297,7 @@ public class BackupsDb {
.tags(tags)
.publishPercentileHistogram()
.register(Metrics.globalRegistry)
.record(mediaCount);
.record(bytesUsed);
// Report that the backup is out of quota if it cannot store a max size media object
final boolean quotaExhausted = bytesUsed >=