-
Notifications
You must be signed in to change notification settings - Fork 4.1k
storage: Add metrics for txnwait queue #31106
Copy link
Copy link
Closed
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Milestone
Description
Prior to 2.0, the Distributed/"KV transaction restarts" chart was a good indicator of the amount of contention in a cluster. Now that contended transactions tend to spend time in the txnwait queue instead of being restarted, that's a less reliable indicator. We should add metrics for the number of transactions in the queue, average wait time, etc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)