summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2015-11-18 16:38:33 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2015-11-18 16:38:33 +1100
commitb78e5b6d3581eed2f28c120992d0f66a14802ebe (patch)
tree6903f864306c42eca8e6daddf261cbd8776b9b81 /dist
parente2f11301fe0f877225dbd102aba458b887cd40ee (diff)
downloadmongo-b78e5b6d3581eed2f28c120992d0f66a14802ebe.tar.gz
WT-2222 Add statistics for named snapshots.
New statistics are: * pinned by named snapshots * number of named snapshots created * number of named snapshots dropped
Diffstat (limited to 'dist')
-rw-r--r--dist/stat_data.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/stat_data.py b/dist/stat_data.py
index c4d12fa3753..11327cc2c34 100644
--- a/dist/stat_data.py
+++ b/dist/stat_data.py
@@ -311,6 +311,13 @@ connection_stats = [
'no_clear,no_scale'),
TxnStat('txn_pinned_range',
'transaction range of IDs currently pinned', 'no_clear,no_scale'),
+ TxnStat('txn_pinned_snapshot_range',
+ 'transaction range of IDs currently pinned by named snapshots',
+ 'no_clear,no_scale'),
+ TxnStat('txn_snapshots_created',
+ 'number of named snapshots created', 'no_clear,no_scale'),
+ TxnStat('txn_snapshots_dropped',
+ 'number of named snapshots dropped', 'no_clear,no_scale'),
TxnStat('txn_rollback', 'transactions rolled back'),
TxnStat('txn_sync', 'transaction sync calls'),