pg_wait_sampling

an extension for collecting sampling-based statistics on wait events