Hey! These docs are for version 2.0, which is no longer officially supported. Click here for the latest version, 2.7!

run-tracker

Tracks and times the execution of a pants run.

Config section: [run-tracker]

Basic options

None

Advanced options

--run-tracker-stats-local-json-file=<str>
PANTS_RUN_TRACKER_STATS_LOCAL_JSON_FILE
stats_local_json_file
default: None
Write stats to this local json file on run completion.

--run-tracker-stats-option-scopes-to-record="['<str>', '<str>', ...]"
PANTS_RUN_TRACKER_STATS_OPTION_SCOPES_TO_RECORD
stats_option_scopes_to_record
default: []
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`. Add a '*' to the list to capture all known scopes.

Deprecated options

--run-tracker-stats-upload-urls="{'key1': val1, 'key2': val2, ...}"
PANTS_RUN_TRACKER_STATS_UPLOAD_URLS
stats_upload_urls
default: {}
Deprecated, will be removed in version: 2.1.0.dev0
RunTracker no longer directly supports uploading run stats to urls.
Upload stats to these URLs on run completion. Value is a map from URL to the name of the auth provider the user must auth against in order to upload stats to that URL, or None/empty string if no auth is required. Currently the auth provider name is only used to provide a more helpful error message.

--run-tracker-stats-upload-timeout=<int>
PANTS_RUN_TRACKER_STATS_UPLOAD_TIMEOUT
stats_upload_timeout
default: 2
Deprecated, will be removed in version: 2.1.0.dev0
RunTracker no longer directly supports uploading run stats to urls.
Wait at most this many seconds for the stats upload to complete.

--run-tracker-stats-version=<int>
PANTS_RUN_TRACKER_STATS_VERSION
stats_version
one of: 1, 2
default: 1
Deprecated, will be removed in version: 2.1.0.dev0
RunTracker no longer directly supports uploading run stats to urls.
Format of stats JSON for uploads and local json file.

--run-tracker-num-foreground-workers=<int>
PANTS_RUN_TRACKER_NUM_FOREGROUND_WORKERS
num_foreground_workers
default: 12
Deprecated, will be removed in version: 2.1.0.dev0
RunTracker no longer uses foreground workers.
Number of threads for foreground work.

--run-tracker-num-background-workers=<int>
PANTS_RUN_TRACKER_NUM_BACKGROUND_WORKERS
num_background_workers
default: 12
Deprecated, will be removed in version: 2.1.0.dev0
RunTracker no longer uses background workers.
Number of threads for background work.


Did this page help you?