Skip to main content
Version: 2.24 (prerelease)

anonymous-telemetry


Options related to sending anonymous stats to the Pants project, to aid development.

Backend: pants.core

Config section: [anonymous-telemetry]

Basic options

None

Advanced options

enabled

--[no-]anonymous-telemetry-enabled
PANTS_ANONYMOUS_TELEMETRY_ENABLED
pants.toml
[anonymous-telemetry]
enabled = <bool>
default: False

Whether to send anonymous telemetry to the Pants project.

Telemetry is sent asynchronously, with silent failure, and does not impact build times or outcomes.

See https://www.pantsbuild.org/2.24/docs/using-pants/anonymous-telemetry for details.

repo_id

--anonymous-telemetry-repo-id=<str>
PANTS_ANONYMOUS_TELEMETRY_REPO_ID
pants.toml
[anonymous-telemetry]
repo_id = <str>
default: None

An anonymized ID representing this repo.

For private repos, you likely want the ID to not be derived from, or algorithmically convertible to, anything identifying the repo.

For public repos the ID may be visible in that repo's config file, so anonymity of the repo is not guaranteed (although user anonymity is always guaranteed).

See https://www.pantsbuild.org/2.24/docs/using-pants/anonymous-telemetry for details.

Deprecated options

None

None