Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

tidb-cloud: Top RU user guide needs rewrite — wrong product surface, missing Essential tier, non-user-facing content

オープン
#22,988 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
静か

調査の方向性

tidb-cloud/premium/top-ru-in-clinic-premium.md にある既存の PR #22760 の内容、提案されている移行先 tidb-cloud/top-ru.md、および TOC-tidb-cloud.md を確認してください。リンク先の製品仕様を使用して Premium と Essential の機能を検証し、新しいページがユーザー向けであり、記載されている機能と制限を網羅し、Monitor and Alert の下にリンクされていることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

Problem

PR #22760 attempted to add Top RU documentation but has several critical issues that make it unsuitable for merge:

1. Wrong product surface

Top RU is a feature in the TiDB Cloud web console, not in TiDB Cloud Clinic. The PR places the doc under tidb-cloud/premium/top-ru-in-clinic-premium.md (a Clinic-specific directory) and titles it "TopRU views in Top SQL in TiDB Cloud Clinic". The entire doc should be a standalone page in the main TiDB Cloud web console docs.

2. Essential tier completely missing

The product spec explicitly supports both Premium and Essential clusters with different capabilities. The PR doc only covers Dedicated/Premium and notes it is "only available for TiDB Cloud Dedicated clusters".

Capability differences per tier:

Feature Premium Essential
Overview tab ✓ ✓
Sliced by Users tab ✓ ✗
Rank by Users panel ✓ ✗
Top N default 10 5
Top N options 20/50/100 10/20
Data retention 30 days 7 days
3. Internal engineering perspective, not user-facing

The doc describes internal implementation details (aggregation keys (user, sql_digest, plan_digest), pipeline reuse, TopN compression mechanics) that belong in internal design docs. User documentation should describe what users can see and do, not how the feature works internally.

4. Key features from spec are missing
  • Rank by Users panel (added in V1.4, Jan 7 2026) — not documented at all
  • Top N configuration per tier with specific values
  • Data retention per tier (Premium 30d / Essential 7d)
  • Time range presets and custom range with 24-hour max window constraint
  • Drill-down plan scenarios (4 scenarios based on plan availability)
  • Quick link from Query Template ID to Slow Query logs
5. Incorrect prerequisite

The doc lists "Resource Control enabled" as a prerequisite. This appears to be an internal implementation detail, not a user-facing requirement for a product-level monitoring feature.

Proposed fix

Create a new doc at tidb-cloud/top-ru.md with:

  • Correct product surface (web console, not Clinic)
  • Coverage of both Premium and Essential tiers with a comparison table
  • User-focused content (what users see and can do)
  • All key features from the spec documented
  • TOC entry added to TOC-tidb-cloud.md under "Monitor and Alert"

Spec reference: https://pingcap.feishu.cn/wiki/AQUdwgOFyiIELCkzGj7c0tyonLh

主要言語
Python
スター
615
フォーク
724
平均マージ
1日 4時間
マージ済み PR(30日)
522

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pingcap/docs のほかの issue

pingcap/docs の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。