1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-21 03:27:01 +00:00

storage: Calculate size of store for status page

This commit is contained in:
James Hillyerd
2018-03-22 20:30:23 -07:00
parent f0a94f4848
commit 3c7c24b698
4 changed files with 22 additions and 1 deletions

View File

@@ -120,6 +120,8 @@ function displayMetrics(data, textStatus, jqXHR) {
setHistoryOfActivity('retentionDeletesTotal', data.retention.DeletesHist);
metric('retainedCurrent', data.retention.RetainedCurrent, numberFilter, false);
setHistoryOfCount('retainedCurrent', data.retention.RetainedHist);
metric('retainedSize', data.retention.RetainedSize, sizeFilter, false);
setHistoryOfCount('retainedSize', data.retention.SizeHist);
}
function loadMetrics() {