Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: add more load stats to hot ranges v2 api
Previously, only QPS was included in the hot ranges v2 api. This commit adds the following range statistics to the API: ``` WritesPerSecond ReadsPerSecond WriteBytesPerSecond ReadBytesPerSecond CPUTimePerSecond ``` See the associated comments in `status.proto` for a description of each load statistic. These may be used to determine the hottest ranges. Note however that these are sorted by default by QPS. The ordering of ranges w.r.t the new load statistics has no guarantees. Likewise, ranges may be omitted which have high relative values for the new load statistics but relatively low QPS. In practice however, there usually exists a strong correlation that ensures that such ranges would not be omitted entirely. resolves: #95383 Release note: None
- Loading branch information
Showing
6 changed files
with
100 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters