diff --git a/pants.toml b/pants.toml index 749566761e7..e209242696e 100644 --- a/pants.toml +++ b/pants.toml @@ -23,8 +23,6 @@ plugins = [ "toolchain.pants.buildsense.plugin==0.1.0", ] -streaming_workunits_report_interval = 1 - build_file_prelude_globs = ["pants-plugins/python_integration_tests_macro.py"] # The invalidation globs cover the PYTHONPATH by default, but we exclude some files that are on the @@ -144,8 +142,5 @@ interpreter_constraints = [">=3.7,<3.9"] [sourcefile-validation] config = "@build-support/regexes/config.yaml" -[run-tracker] -stats_option_scopes_to_record = ["*"] - [toolchain-setup] repo = "pants" diff --git a/src/python/pants/goal/run_tracker.py b/src/python/pants/goal/run_tracker.py index 9c0cabd4df3..6bc737fd147 100644 --- a/src/python/pants/goal/run_tracker.py +++ b/src/python/pants/goal/run_tracker.py @@ -64,7 +64,7 @@ def register_options(cls, register): "--stats-option-scopes-to-record", advanced=True, type=list, - default=[], + default=["*"], help="Option scopes to record in stats on run completion. " "Options may be selected by joining the scope and the option with a ^ character, " "i.e. to get option `pantsd` in the GLOBAL scope, you'd pass `GLOBAL^pantsd`. " diff --git a/src/python/pants/option/global_options.py b/src/python/pants/option/global_options.py index 2d70b8a81f0..29854acc213 100644 --- a/src/python/pants/option/global_options.py +++ b/src/python/pants/option/global_options.py @@ -906,7 +906,7 @@ def register_options(cls, register): register( "--streaming-workunits-report-interval", type=float, - default=10, + default=1, advanced=True, help="Interval in seconds between when streaming workunit event receivers will be polled.", )