Ash Instrumentation

Instrument YugabyteDB ASH (Active Session History) wait states: add a new WaitStateCode, choose the right macro for synchronous vs asynchronous/callback code paths, register background trackers, plumb ASH metadata through RPCs, and test with wait_states-itest. Use when adding or changing wait states, or when instrumenting a code path for ASH anywhere under src/yb.

yugabyte Updated

File contents

yugabyte/yugabyte-db commit 96a6f4ac4a

Frequently asked questions

npx get-skill add yugabyte/ash-instrumentation