TeamCity On-Premises 2026.3 Help

Anonymous usage statistics

TeamCity CLI sends anonymous usage statistics to JetBrains to show which commands people use and where they fail. Every value is a fixed enum or a numeric count. The CLI never transmits free-form strings, identifiers, or anything you typed.

What we collect

Once per CLI invocation (a "session" event):

  • CLI version, TeamCity server version (for example, 2026.1), and server type (cloud or on_prem).

  • OS (darwin, linux, windows, freebsd, other) and CPU architecture (amd64, arm64, 386, other).

  • The CI system the CLI is running inside, if any: github_actions, gitlab, jenkins, circleci, buildkite, azure, travis, teamcity, other, or none.

  • The AI coding agent that invoked the CLI, if any: claude_code, junie, cursor, gemini_cli, codex, goose, augment, github_copilot, amp, windsurf, opencode, trae, roo, other, or none.

  • How you authenticated: keyring, env, build_properties, guest, or none. The token itself is never sent.

  • Whether the working directory has a teamcity.toml linked-project file (a boolean).

  • A randomly-generated session ID that rotates after 30 minutes of inactivity. The ID is hashed locally before it leaves your machine.

Once per command (a "command" event):

  • The command you ran, mapped to a fixed enum: run.list, pipeline.validate, agent.term, and so on. Anything outside the enum collapses to other.

  • Whether --json was used.

  • Whether the command ran with git context (one of --local-changes, --branch=@this, --revision=@head).

  • Whether a teamcity.toml link file was used to resolve the project or job.

  • The total number of flags you set (count only, not the values).

  • Exit code (0, 1, 2), duration in milliseconds, and an error category if the command failed: auth, permission, not_found, network, validation, read_only, internal, or none.

For specific command groups (build runs, agent sessions, pipeline operations, skill install/update, REST API calls, login, link) the CLI also records some booleans and counts, for example, is_personal for run start, error_count for pipeline validate, had_timeout for agent term. The full schema is in internal/analytics/scheme.go.

What we don't collect

  • Tokens, passwords, SSH keys, or anything stored in the keyring or config.yml.

  • Your TeamCity server URL, hostname, or IP address. The URL is used only as a local cache key in ~/.config/tc/.analytics/server-info.json so the CLI can remember which server version it last saw; the URL itself never leaves your machine.

  • Repository contents, build logs, build numbers, or arguments you pass to commands.

  • Project, job, build, agent, pipeline, VCS-root, pool, or connection names or IDs.

  • Usernames, emails, branch names, file paths, or commit SHAs.

Nothing we collect can be used to identify you, your organization, your servers, or your repositories. Every value goes through a published enum or numeric validator before it leaves your machine, so strings cannot be sent by accident.

How to opt out

The CLI checks these settings in this order:

Environment variable (one-shot or per session):

export DO_NOT_TRACK=1 # or, equivalently export TEAMCITY_ANALYTICS=0

DO_NOT_TRACK follows the industry convention used by other CLI tools. Either variable wins over the config file.

Configuration (persistent):

teamcity config set analytics false

To re-enable later:

teamcity config set analytics true

Where the data goes

Through the JetBrains FUS (Feature Usage Statistics) pipeline, which IntelliJ-based IDEs also use. Retention and processing details: JetBrains Product Data Collection Terms.

02 November 2026