diff options
author | David Hows <howsdav@gmail.com> | 2016-06-21 05:43:56 +1000 |
---|---|---|
committer | sueloverso <sue@mongodb.com> | 2016-06-20 15:43:56 -0400 |
commit | 5495e02aaadf637331d093a09784f96d688ce23e (patch) | |
tree | 319a0091ea9580a900375c60173d06d4e58ffe1d /tools | |
parent | ad46083878dc37238a5a29365a078ff2d29a2060 (diff) | |
download | mongo-5495e02aaadf637331d093a09784f96d688ce23e.tar.gz |
WT-2541 Add stats showing active readers and writers (#2793)
* WT-2541 Add stats showing active readers and writers
* Fix use of RET_MSG instead of ERR_MSG
* Change where we increment the active r/w stats
* Add "active fsync" stat
* Add new "Thread State" stat section, add fsync_io stat
* KNF
* Make thread stats not backwards breaking. Add atomic stat functions
* Add ThreadState stats to system and evict groups
* KNF
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wtstats/stat_data.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/wtstats/stat_data.py b/tools/wtstats/stat_data.py index eca3c137738..15d54b233bc 100644 --- a/tools/wtstats/stat_data.py +++ b/tools/wtstats/stat_data.py @@ -27,6 +27,9 @@ no_scale_per_second_list = [ 'reconciliation: split objects currently awaiting free', 'session: open cursor count', 'session: open session count', + 'thread-state: active filesystem fsync calls', + 'thread-state: active filesystem read calls', + 'thread-state: active filesystem write calls', 'transaction: transaction checkpoint currently running', 'transaction: transaction checkpoint generation', 'transaction: transaction checkpoint max time (msecs)', @@ -93,6 +96,9 @@ no_clear_list = [ 'reconciliation: split objects currently awaiting free', 'session: open cursor count', 'session: open session count', + 'thread-state: active filesystem fsync calls', + 'thread-state: active filesystem read calls', + 'thread-state: active filesystem write calls', 'transaction: transaction checkpoint currently running', 'transaction: transaction checkpoint generation', 'transaction: transaction checkpoint max time (msecs)', @@ -119,6 +125,7 @@ prefix_list = [ 'thread-yield', 'async', 'btree', + 'thread-state', 'compression', ] -groups = {'cursor': ['cursor', 'session'], 'lsm': ['LSM', 'transaction'], 'system': ['connection', 'data-handle', 'session'], 'evict': ['cache', 'connection', 'block-manager'], 'memory': ['cache', 'connection', 'reconciliation']}
\ No newline at end of file +groups = {'cursor': ['cursor', 'session'], 'lsm': ['LSM', 'transaction'], 'system': ['connection', 'data-handle', 'session', 'thread-state'], 'evict': ['block-manager', 'cache', 'connection', 'thread-state'], 'memory': ['cache', 'connection', 'reconciliation']}
\ No newline at end of file |