diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-15 08:18:13 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-15 08:18:13 +0000 |
commit | 108b10c069c5a80ab3027caa5aa62aedf184ef43 (patch) | |
tree | 44dcf199c9ac45a702fdd7678819f347e1eb1bc8 /searchcore | |
parent | a97c478777f7c254d772df406b2afa0b6735261c (diff) |
Also provide used and on-hold memory in overview.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp index ddf240ad90c..51ac20dd4bb 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp @@ -158,6 +158,8 @@ AttributeVectorExplorer::get_state(const vespalib::slime::Inserter &inserter, bo object.setLong("numDocs", status.getNumDocs()); object.setLong("lastSerialNum", status.getLastSyncToken()); object.setLong("allocatedMemory", status.getAllocated()); + object.setLong("usedMemory", status.getUsed()); + object.setLong("onHoldMemory", status.getOnHold()); object.setLong("committedDocIdLimit", attr.getCommittedDocIdLimit()); } } |