diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-10-24 17:41:16 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-10-24 17:41:16 +1100 |
commit | bf98f7d7645b37c71f76c0832a2779df3fef66fc (patch) | |
tree | 55b3ed87469ca3717510b7c626cea885ba96bad4 /dist/stat_data.py | |
parent | 6e34095386588df71e157bbcb4ba3c9d81a79a83 (diff) | |
download | mongo-bf98f7d7645b37c71f76c0832a2779df3fef66fc.tar.gz |
Add statistics to track open sessions and the range of transaction IDs that are pinned.
Diffstat (limited to 'dist/stat_data.py')
-rw-r--r-- | dist/stat_data.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/stat_data.py b/dist/stat_data.py index ddbe4d2f969..0afb83bbc74 100644 --- a/dist/stat_data.py +++ b/dist/stat_data.py @@ -171,6 +171,9 @@ connection_stats = [ Stat('txn_checkpoint_running', 'transaction checkpoint currently running', 'no_aggregate,no_clear,no_scale'), + Stat('txn_pinned_range', + 'transaction range of IDs currently pinned', + 'no_aggregate,no_clear,no_scale'), Stat('txn_commit', 'transactions committed'), Stat('txn_fail_cache', 'transaction failures due to cache overflow'), Stat('txn_rollback', 'transactions rolled back'), @@ -199,6 +202,7 @@ connection_stats = [ # Session operations ########################################## Stat('session_cursor_open', 'open cursor count', 'no_clear,no_scale'), + Stat('session_open', 'open session count', 'no_clear,no_scale'), ########################################## # Total Btree cursor operations |