Sha256: 091622ae0d8a6740d8b8984517f2b734fe6f57c7a5227a53d5ed9ff0c7d090e1

Contents?: true

Size: 1.28 KB

Versions: 6

Compression:

Stored size: 1.28 KB

Contents

# Mongo Metrics

The [`mongo_3.rb`](mongo_3.rb) script generates metrics from the `mongotop` and `mongostat` commands for a Mongo 3.0 database. The following metrics will be output for every collection in your system:

* `mongotop.COLLECTION.total_ms` - Total ms spent in collection
* `mongotop.COLLECTION.write_ms` - Write ms spent in collection
* `mongotop.COLLECTION.read_ms` - Read ms spent in collection

Additionally, the following database level metrics will be output:

* `mongostat.HOST.conn` - Current number of connections
* `mongostat.HOST.delete`- Delete commands issued
* `mongostat.HOST.faults` - Page faults occurred
* `mongostat.HOST.flushes` - Flushes performed
* `mongostat.HOST.getmore` - Get More commands issued
* `mongostat.HOST.idx_miss_pct` - Percentage of queries missing an index
* `mongostat.HOST.insert` - Insert commands issued
* `mongostat.HOST.mapped_mb` - Database files mapped into memory
* `mongostat.HOST.netIn_mb` -  Amount of network I/O received
* `mongostat.HOST.netOut_mb` - Amount of network I/O sent
* `mongostat.HOST.query` - Number of queries received
* `mongostat.HOST.res_mb` - Resident memory of db process
* `mongostat.HOST.update` - Number of update commands issued

These metrics can only be gathered using the 3.0 version of the Mongo command line tools.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
instrumental_tools-1.1.4 examples/mongo/README.md
instrumental_tools-1.1.3 examples/mongo/README.md
instrumental_tools-1.0.0 examples/mongo/README.md
instrumental_tools-1.0.0.rc2 examples/mongo/README.md
instrumental_tools-1.0.0.pre.2 examples/mongo/README.md
instrumental_tools-1.0.0.pre.1 examples/mongo/README.md