-
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 cross-region snapshot byte metrics to StoreMetrics
Previously, there were no metrics to observe cross-region snapshot traffic between stores within a cluster. To improve this issue, this commit adds two new store metrics - `range.snapshots.cross-region.sent-bytes` and `range.snapshots.cross-region.rcvd-bytes`. These metrics track the aggregate snapshot bytes sent from and received at a store. Fixes: #104124 Release note (ops change): Two new store metrics - `range.snapshots.cross-region.sent-bytes` and `range.snapshots.cross-region.rcvd-bytes` - are now added to track the aggregate snapshot bytes sent from and received at a store. Note that these metrics require nodes’ localities to include a “region” tier key. If a node lacks this key but is involved in cross-region batch activities, an error message will be logged.
- Loading branch information
Showing
6 changed files
with
208 additions
and
69 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
Oops, something went wrong.