Which component(s) does this affect?
Problem Statement
when you see the monitoring of wait stats tab, i think it is good to have an option to see what queries actually caused this specific wait type in That time period, because it's hard to find out later.
Proposed Solution
i think by adding an option in wait stats tap, for example an context menu on wait types checkbox list to fetch wanted data is good enough to have the all in one place for investigation the problems,
Use Case
Add an context menu on wait types checkbox list to fetch desired Data in specific period of time
Alternatives Considered
No response
Additional Context
No response