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 96a6f4a 2 files · 26.6 KB Updated

File contents

yugabyte/yugabyte-db/tree/main/.claude/skills/ash-instrumentation commit 96a6f4ac4a

Frequently asked questions

npx skillmds@latest add yugabyte/ash-instrumentation