Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changing to op_ for current opts. Alphabetizes better for scout.

  • Loading branch information...
commit 6a0f72e2e60bd6085313aad23773dee8692cbef1 1 parent 55283fc
@jnunemaker authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 mongodb/mongo_ops.rb
View
12 mongodb/mongo_ops.rb
@@ -31,12 +31,12 @@ def build_report
previous_get_mores = memory(:op_get_mores) || 0
previous_commands = memory(:op_commands) || 0
- report(:inserts => op_inserts - previous_inserts)
- report(:queries => op_queries - previous_queries)
- report(:updates => op_updates - previous_updates)
- report(:deletes => op_deletes - previous_deletes)
- report(:get_mores => op_get_mores - previous_get_mores)
- report(:commands => op_commands - previous_commands)
+ report(:op_inserts => op_inserts - previous_inserts)
+ report(:op_queries => op_queries - previous_queries)
+ report(:op_updates => op_updates - previous_updates)
+ report(:op_deletes => op_deletes - previous_deletes)
+ report(:op_get_mores => op_get_mores - previous_get_mores)
+ report(:op_commands => op_commands - previous_commands)
report(:total_inserts => op_inserts)
report(:total_queries => op_queries)
Please sign in to comment.
Something went wrong with that request. Please try again.