Sha256: ca0fb1d2c505daa2f6bd063ec76af2cf1fd2597fddc2d2f4cc54fe1b98029add
Contents?: true
Size: 368 Bytes
Versions: 5
Compression:
Stored size: 368 Bytes
Contents
module SnowmanIO module Spider # store internal mongo metrics class InternalMongo def grab stats = Mongoid::Sessions.default.command(dbstats: 1) App.value("Mongo dataSize", stats["dataSize"]) App.value("Mongo storageSize", stats["storageSize"]) App.value("Mongo nsSizeMB", stats["nsSizeMB"]) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems