1
0
Fork 0

don't keep the memory stats in the collections to save disk space (#9582)

This commit is contained in:
Wilfried Goesgens 2019-07-26 22:51:47 +02:00 committed by KVS85
parent ef99c43c93
commit 8d2accac7c
1 changed files with 2 additions and 0 deletions

View File

@ -937,6 +937,7 @@ void StatisticsWorker::generateRawStatistics(VPackBuilder& builder, double const
builder.add("dirty", VPackValue(v8Counters.dirty));
builder.add("free", VPackValue(v8Counters.free));
builder.add("max", VPackValue(v8Counters.max));
/* at the time being we don't want to write this into the database so the data volume doesn't increase.
{
builder.add("memory", VPackValue(VPackValueType::Array));
for (auto memStatistic : memoryStatistics) {
@ -950,6 +951,7 @@ void StatisticsWorker::generateRawStatistics(VPackBuilder& builder, double const
}
builder.close();
}
*/
builder.close();
// export threads statistics