diff options
author | James Wahlin <james.wahlin@10gen.com> | 2016-09-14 14:45:45 -0400 |
---|---|---|
committer | James Wahlin <james.wahlin@10gen.com> | 2016-09-16 17:04:42 -0400 |
commit | f4600bb330c1ed7975fe4ec7562dbda40efb2d8f (patch) | |
tree | d77ae3ca43f798099cabbba370561e65e6dc3c0a /src/mongo/s/commands/cluster_db_stats_cmd.cpp | |
parent | b767a1971e001b75b897eac5b4d0caef873b5eaa (diff) | |
download | mongo-f4600bb330c1ed7975fe4ec7562dbda40efb2d8f.tar.gz |
SERVER-25948 dbStats should indicate number of views
Diffstat (limited to 'src/mongo/s/commands/cluster_db_stats_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_db_stats_cmd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_db_stats_cmd.cpp b/src/mongo/s/commands/cluster_db_stats_cmd.cpp index 4661cac2b7b..1546fe4482e 100644 --- a/src/mongo/s/commands/cluster_db_stats_cmd.cpp +++ b/src/mongo/s/commands/cluster_db_stats_cmd.cpp @@ -83,8 +83,7 @@ public: } } - // TODO: need to find a good way to get this - // result.appendNumber( "collections" , ncollections ); + // TODO SERVER-26110: Add aggregated 'collections' and 'views' metrics. output.appendNumber("objects", objects); // avgObjSize on mongod is not scaled based on the argument to db.stats(), so we use |