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

An aggregator for Pants stats, such as cache metrics.

Backend: pants.core
Config section: [stats]

Basic options


Advanced options


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.


default: False

At the end of the Pants run, report a summary of memory usage.

Keys are the total size in bytes, the count, and the name. Note that the total size is for all instances added together, so you can use total_size // count to get the average size.

Deprecated options