Skip to main content
Version: 2.1 (deprecated)

run-tracker


Tracks and times the execution of a pants run.

Backend: ``

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
pants.toml
[run-tracker]
stats_local_json_file = <str>
default: 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
pants.toml
[run-tracker]
stats_option_scopes_to_record = [
'<str>',
'<str>',
...,
]
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

None

None