summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/tools
diff options
context:
space:
mode:
authorMatt Kangas <matt.kangas@mongodb.com>2014-11-13 09:02:02 -0500
committerMatt Kangas <matt.kangas@mongodb.com>2014-11-13 11:20:38 -0500
commitf31a38be3ce39267382e59b4fe74be1129b96679 (patch)
treeae73a6cf7320ffa471c65e0b718a59a5270a2e92 /src/third_party/wiredtiger/tools
parenta6be8c0d9cee8c3a87a26f3d5e0fb6f58632bf43 (diff)
downloadmongo-f31a38be3ce39267382e59b4fe74be1129b96679.tar.gz
Import wiredtiger-wiredtiger-2.4.0-325-gb4df6ce.tar.gz from wiredtiger branch develop
Diffstat (limited to 'src/third_party/wiredtiger/tools')
-rw-r--r--src/third_party/wiredtiger/tools/stat_data.py8
-rw-r--r--src/third_party/wiredtiger/tools/wt_nvd3_util.py2
-rw-r--r--src/third_party/wiredtiger/tools/wtstats.py8
3 files changed, 13 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/tools/stat_data.py b/src/third_party/wiredtiger/tools/stat_data.py
index 93d5fa813f8..56218f497b7 100644
--- a/src/third_party/wiredtiger/tools/stat_data.py
+++ b/src/third_party/wiredtiger/tools/stat_data.py
@@ -17,6 +17,10 @@ no_scale_per_second_list = [
'session: open cursor count',
'session: open session count',
'transaction: transaction checkpoint currently running',
+ 'transaction: transaction checkpoint max time (msecs)',
+ 'transaction: transaction checkpoint min time (msecs)',
+ 'transaction: transaction checkpoint most recent time (msecs)',
+ 'transaction: transaction checkpoint total time (msecs)',
'transaction: transaction range of IDs currently pinned',
'block-manager: checkpoint size',
'block-manager: file allocation unit size',
@@ -61,6 +65,10 @@ no_clear_list = [
'session: open cursor count',
'session: open session count',
'transaction: transaction checkpoint currently running',
+ 'transaction: transaction checkpoint max time (msecs)',
+ 'transaction: transaction checkpoint min time (msecs)',
+ 'transaction: transaction checkpoint most recent time (msecs)',
+ 'transaction: transaction checkpoint total time (msecs)',
'transaction: transaction range of IDs currently pinned',
'session: open cursor count',
]
diff --git a/src/third_party/wiredtiger/tools/wt_nvd3_util.py b/src/third_party/wiredtiger/tools/wt_nvd3_util.py
index 87ce9b85e9f..fe058d25c1d 100644
--- a/src/third_party/wiredtiger/tools/wt_nvd3_util.py
+++ b/src/third_party/wiredtiger/tools/wt_nvd3_util.py
@@ -31,7 +31,7 @@ from datetime import datetime
tool_dir = os.path.split(sys.argv[0])[0]
# Make sure Python finds the NVD3 in our third party directory, to
# avoid compatability issues
-sys.path.append(os.path.join(tool_dir, "third_party"))
+sys.path.append(os.path.join(tool_dir, "3rdparty"))
try:
from nvd3 import lineChart
diff --git a/src/third_party/wiredtiger/tools/wtstats.py b/src/third_party/wiredtiger/tools/wtstats.py
index 7950fd69081..882a6fb5be2 100644
--- a/src/third_party/wiredtiger/tools/wtstats.py
+++ b/src/third_party/wiredtiger/tools/wtstats.py
@@ -33,10 +33,10 @@ from subprocess import call
# Make sure Python can find files in the tools directory
tool_dir = os.path.split(sys.argv[0])[0]
-sys.path.append(tool_dir)
-# Make sure Python finds the NVD3 in our third party directory, to
-# avoid compatability issues
-sys.path.append(os.path.join(tool_dir, "third_party"))
+
+# Make sure Python finds the NVD3 in our third party directory.
+# To avoid compatability issues, prepend it to the system path.
+sys.path = [ os.path.join(tool_dir, "3rdparty") ] + sys.path
try:
from stat_data import no_scale_per_second_list, no_clear_list