fix an incorrect backup metric
This commit is contained in:
parent
a87690d817
commit
7dddc4d759
|
@ -297,7 +297,7 @@ public class BackupsDb {
|
||||||
.tags(tags)
|
.tags(tags)
|
||||||
.publishPercentileHistogram()
|
.publishPercentileHistogram()
|
||||||
.register(Metrics.globalRegistry)
|
.register(Metrics.globalRegistry)
|
||||||
.record(mediaCount);
|
.record(bytesUsed);
|
||||||
|
|
||||||
// Report that the backup is out of quota if it cannot store a max size media object
|
// Report that the backup is out of quota if it cannot store a max size media object
|
||||||
final boolean quotaExhausted = bytesUsed >=
|
final boolean quotaExhausted = bytesUsed >=
|
||||||
|
|
Loading…
Reference in New Issue