Skip to main content
Version: 2.8 (deprecated)

stats


An aggregator for Pants stats, such as cache metrics.

Backend: ``

Config section: [stats]

Basic options

None

Advanced options

log

--[no-]stats-log
PANTS_STATS_LOG
pants.toml
[stats]
log = <bool>
default: False

At the end of the Pants run, log all counter metrics and summaries of observation histograms, e.g. the number of cache hits and the time saved by caching.

For histogram summaries to work, you must add hdrhistogram to [GLOBAL].plugins.

Deprecated options

None

None