Skip to content

*: deprecate and remove telemetry#22961

Open
lilin90 wants to merge 3 commits into
pingcap:masterfrom
lilin90:deprecate-telemetry
Open

*: deprecate and remove telemetry#22961
lilin90 wants to merge 3 commits into
pingcap:masterfrom
lilin90:deprecate-telemetry

Conversation

@lilin90
Copy link
Copy Markdown
Member

@lilin90 lilin90 commented May 28, 2026

What is changed, added or deleted? (Required)

Deprecate and remove telemetry related system variable and config items.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@lilin90 lilin90 requested review from bb7133 and Copilot May 28, 2026 02:44
@lilin90 lilin90 self-assigned this May 28, 2026
@lilin90 lilin90 added translation/doing This PR's assignee is translating this PR. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. labels May 28, 2026
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented May 28, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from lilin90. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 28, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the documentation across several files (pd-configuration-file.md, system-variables.md, and tidb-configuration-file.md) to reflect the deprecation of the telemetry configuration items and system variables starting from version v8.5.7. The review comments suggest improvements to align with the style guide, specifically recommending the use of past tense for historical version behaviors, clarifying version ranges, and removing redundant words like 'again' to avoid unnecessary repetition.

Comment thread pd-configuration-file.md Outdated
Comment thread system-variables.md
Comment thread tidb-configuration-file.md
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates TiDB documentation to reflect telemetry deprecation/removal behavior around v8.5.7 for related system variables and configuration items.

Changes:

  • Adds v8.5.7 removal/deprecation notes for TiDB telemetry configuration and system variable docs.
  • Revises the PD Dashboard enable-telemetry section to include patch-version behavior history.
  • Keeps the affected documentation focused on telemetry-related controls.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
tidb-configuration-file.md Adds a v8.5.7 deprecation/removal warning for TiDB enable-telemetry.
system-variables.md Adds a v8.5.7 deprecation/removal warning for tidb_enable_telemetry.
pd-configuration-file.md Updates PD Dashboard enable-telemetry warning and description.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread system-variables.md Outdated
Comment thread pd-configuration-file.md Outdated
Comment thread pd-configuration-file.md
Comment thread tidb-configuration-file.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@ti-chi-bot ti-chi-bot Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 28, 2026
Adjust telemetry lifecycle wording to match actual releases: expand the removed range from v8.1.0–v8.5.1 to v8.1.0–v8.5.2, and clarify the reintroduced period as v8.5.3–v8.5.6 (telemetry only logs locally). Also reaffirm that telemetry is removed again starting v8.5.7 and add a brief control description to the PD config. Affected files: pd-configuration-file.md, system-variables.md, telemetry.md, tidb-configuration-file.md.
@lilin90
Copy link
Copy Markdown
Member Author

lilin90 commented May 28, 2026

/hold

@ti-chi-bot ti-chi-bot Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 28, 2026
@lilin90 lilin90 added the for-release This PR relates to a TiDB release but does not have a tracked feature. label May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. for-release This PR relates to a TiDB release but does not have a tracked feature. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. translation/doing This PR's assignee is translating this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants