genghis
genghis copied to clipboard
Show document size
Hopefully isn't too crazy of a request, since it looks like you are aggregating them per collection anyways. Maybe just pop it in right next to the timestamp? In the single document view?
I'm actually not aggregating them. I'm piggybacking on the data Mongo already collects about document size in collections. I think that's what it uses for calculating padding when inserting new documents.
Okay, wasn't sure. Was thinking it would be cool to add something like this when in the single doc view, and just find based on the ObjectId. http://docs.mongodb.org/manual/reference/command/dataSize/
Thanks though!
Let's keep this open as a feature request... I wanted to include more detailed stats in a lot of views (with a time delay or explicit click, to make sure we're not gathering all stats about all parts of the system on every request). So we'll keep this one as one possibility :)