Opening a feature request kicks off a discussion.
uu:ROLE> db.stats()
{
"db" : "awesome",
"collections" : 4,
"views" : 0,
"objects" : 55025651,
"avgObjSize" : 2940.6856609684546,
"dataSize" : 55881708978,
"storageSize" : 99163236352,
"numExtents" : 0,
"indexes" : 22,
"indexSize" : 9695956992,
"fsUsedSize" : 314493155328,
"fsTotalSize" : 622017689600,
"ok" : 1,
"operationTime" : Timestamp(1000000005, 6),
"$clusterTime" : {
"clusterTime" : Timestamp(1000000005, 6),
"signature" : {
"hash" : BinData(0,"foo="),
"keyId" : NumberLong("bar")
}
}
}
Values are not retrieved.
I would like to monitor disk space usage on my instance.
Feature Request
Opening a feature request kicks off a discussion.
Proposal:
Hello,
I would like to add
FsUsedSizeandFsTotalSizetodbDataStatsfor mongodb input. These values are present indb.stats()(tested on mongo4.0.x)Current behavior:
Values are not retrieved.
Desired behavior:
Have
mongodb_db_stats_fs_total_sizemongodb_db_stats_fs_used_sizeUse case:
I would like to monitor disk space usage on my instance.