yugabyte-db icon indicating copy to clipboard operation
yugabyte-db copied to clipboard

[dst] Improve metrics collection related-to pessimistic locking

Open robertsami opened this issue 2 years ago • 0 comments

Jira Link: DB-3160 Some examples:

  1. latency of deadlock detection (min, max, avg)
  2. avg cycle length in deadlock detection
  3. deadlocks detected per second
  4. wait time in wait queue
  5. number of blockers for a waiter (min, max, avg)
  6. number of waiters for a blocker (min, max, avg)

More TBD

Ensure also that memory usage of deadlock_detector and wait_queue are captured by mem tracker

robertsami avatar Aug 11 '22 14:08 robertsami