cockroachdb / cockroachdb/docs

Minor correction needed to details on the automatic CPU profiler

オープン
#22,757 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
O-support
主要言語
HTML
スター
212
フォーク
476
平均マージ
40分
マージ済み PR(30日)
3

説明

Affected page: https://www.cockroachlabs.com/docs/stable/automatic-cpu-profiler#high-water-mark-threshold

What needs changed:

At `time2`, the `20m0s` interval after `time0`, the high-water mark threshold is reset to the baseline threshold of `65`.

Needs to be changed to this line:

At `time2`, the `20m0s` interval after `time1`, the high-water mark threshold is reset to the baseline threshold of `65`.

Reasoning:

The interval period always resets after each new CPU profile, so we count the 20 minutes from `time1` in this example - we do NOT count from when the first CPU profile was taken.

Confirmation:

Confirmed by the Observability team and by the code in https://github.com/cockroachdb/cockroach/blob/74a9fdc34d97afc902379f73f017e028531ae841/pkg/server/profiler/profiler_common.go#L113

Jira issue: DOC-16188

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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