-
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: track replicate queue metrics by allocator action
While previously we had metrics within the replicate queue which tracked the number of particular actions processed by the queue based on a unique set of categories, this change adds new metrics for tracking the successes/errors of a replica being processed by the replicate queue, using the allocator action as a method of categorizing these actions. With this categorization, we are able to track success and error counts during rebalancing, upreplicating when we have a dead node, or decommissioning. The categorization makes no distinction between actions relatinv to voter replicas vs non-voter replicas, so they are aggregated across these two types. Release note (ops change): added new metrics: ``` queue.replicate.addreplica.(success|error) queue.replicate.removereplica.(success|error) queue.replicate.replacedeadreplica.(success|error) queue.replicate.removedeadreplica.(success|error) queue.replicate.replacedecommissioningreplica.(success|error) queue.replicate.removedecommissioningreplica.(success|error) ```
- Loading branch information
Showing
3 changed files
with
244 additions
and
8 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
Oops, something went wrong.