-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvserver: add replica load info for hotranges
Previously, HotRanges would report the replica descriptor and queries per second (QPS) of the hottest ranges per store; ranked by QPS. This patch introduces the additional range load information: requests per second `RequestsPerSecond`, writes per second `WriteKeysPerSecond`, reads per second `ReadsPerSecond`, write bytes per second `WriteBytesPerSecond` and read bytes per second `ReadBytesPerSecond`. These additional load metrics are useful for hot range inspection, as they provide a more granular view of range load, than QPS alone. Release note (ops change): HottestRanges will now report additional range statistics for the reported ranges. These statistics are: requests per second, the number of requests received by this range recently per second; writes per second, the number of keys written to in this range recently per second; reads per second, the number of keys read from this range recently, per second; write bytes per second, the number of bytes written to this range recently, per second; and the read bytes per second, the number of bytes read from this range recently, per second.
- Loading branch information
Showing
5 changed files
with
43 additions
and
2 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