run-tracker
Tracks and times the execution of a pants run.
Backend: pants.core
Config section: [run-tracker]
Basic options
None
Advanced options
stats_local_json_file
--run-tracker-stats-local-json-file=<str>
PANTS_RUN_TRACKER_STATS_LOCAL_JSON_FILE
None
Write stats to this local json file on run completion.
stats_option_scopes_to_record
--run-tracker-stats-option-scopes-to-record="['<str>', '<str>', ...]"
PANTS_RUN_TRACKER_STATS_OPTION_SCOPES_TO_RECORD
[]
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
stats_upload_urls
--run-tracker-stats-upload-urls="{'key1': val1, 'key2': val2, ...}"
PANTS_RUN_TRACKER_STATS_UPLOAD_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.
stats_upload_timeout
--run-tracker-stats-upload-timeout=<int>
PANTS_RUN_TRACKER_STATS_UPLOAD_TIMEOUT
2
Wait at most this many seconds for the stats upload to complete.
stats_version
--run-tracker-stats-version=<int>
PANTS_RUN_TRACKER_STATS_VERSION
1, 2
default:
1
Format of stats JSON for uploads and local json file.
num_foreground_workers
--run-tracker-num-foreground-workers=<int>
PANTS_RUN_TRACKER_NUM_FOREGROUND_WORKERS
64
Number of threads for foreground work.
num_background_workers
--run-tracker-num-background-workers=<int>
PANTS_RUN_TRACKER_NUM_BACKGROUND_WORKERS
64
Number of threads for background work.