diff options
author | Alison Felizzi <alison.felizzi@mongodb.com> | 2022-01-13 03:57:03 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-13 04:54:48 +0000 |
commit | 47c77eedf3bb0b4305f2ca1d8e362b27d599008f (patch) | |
tree | 97d245c370849b98f0fbf6cf3fb7a38034c752e1 /src/third_party/wiredtiger/dist | |
parent | a6f5c9369a4cc30c81e65ab35a775a7f2aa8b393 (diff) | |
download | mongo-47c77eedf3bb0b4305f2ca1d8e362b27d599008f.tar.gz |
Import wiredtiger: 5b33a8575614c67b6f2315b999122ce50886c88c from branch mongodb-master
ref: b568512de4..5b33a85756
for: 5.3.0
WT-8664 Rework the monitoring component and statistics in the cpp suite
Diffstat (limited to 'src/third_party/wiredtiger/dist')
-rw-r--r-- | src/third_party/wiredtiger/dist/test_data.py | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/src/third_party/wiredtiger/dist/test_data.py b/src/third_party/wiredtiger/dist/test_data.py index 420cdcfa718..14219d9ab89 100644 --- a/src/third_party/wiredtiger/dist/test_data.py +++ b/src/third_party/wiredtiger/dist/test_data.py @@ -88,21 +88,21 @@ enabled_config_false = [ type='boolean'), ] -stat_config = enabled_config_false - -limit_stat = stat_config + [ - Config('limit', 0, r''' - The limit value a statistic is allowed to reach''', min=0) -] - range_config = [ Config('min', 0, r''' - The minimum a value can be in a range''', min=0), + Lower limit''', min=0), Config('max', 1, r''' - The maximum a value can be in a range''') + Upper limit''') +] + +stat_config = range_config + [ + Config('postrun', 'false', r''' + Whether the stat needs to be checked post run.''', type='boolean'), + Config('runtime', 'false', r''' + Whether the stat needs to be checked at runtime.''', type='boolean'), ] -component_config = throttle_config +component_config = throttle_config transaction_config = [ Config('ops_per_transaction', '', r''' @@ -129,16 +129,18 @@ checkpoint_manager = enabled_config_false + component_config # that need to be checked by the component. # runtime_monitor = enabled_config_true + component_config + [ - Config('stat_cache_size', '', ''' - The maximum cache percentage that can be hit while running.''', - type='category', subconfig=limit_stat), - Config('stat_db_size', '', ''' - The maximum on-disk database size in bytes that can be hit while running.''', - type='category', subconfig=limit_stat), - Config('postrun_statistics', '[]', ''' - A list of statistics to be checked after the workload has completed. Each element of the - list should be formatted as "stat_name:min_limit:max_limit".''', - type='list') + Config('cache_hs_insert', '', r''' + Number of history store table insert calls.''', + type='category', subconfig=stat_config), + Config('cc_pages_removed', '', r''' + Number of pages removed.''', + type='category', subconfig=stat_config), + Config('stat_cache_size', '', r''' + Cache size statistics.''', + type='category', subconfig=stat_config), + Config('stat_db_size', '', r''' + Size of the database.''', + type='category', subconfig=stat_config), ] # |