Add avg ms per wait chart toggle (#22)#54
Merged
erikdarlingdata merged 1 commit intodevfrom Feb 16, 2026
Merged
Conversation
Wait stats chart now has a Metric dropdown to switch between: - Wait Time (ms/sec): existing per-second rate (default) - Avg Wait Time (ms/wait): delta_wait_time_ms / delta_waiting_tasks Shows which waits are individually painful vs just high volume. Both Dashboard and Lite get the toggle, hover tooltip unit updates to match, and Lite summary grid gains AvgWaitMsPerTask property. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
delta_wait_time_ms / delta_waiting_tasksper collection intervalWaitStatsRowgainsAvgWaitMsPerTaskcomputed property for future grid usewaiting_tasks_countwas already collected in both appsWhy
Total wait time (ms/sec) answers "where is time going?" but avg ms/wait answers "which waits are individually the slowest?" — e.g., CXPACKET dominates total time but each wait is trivial, while RESOURCE_SEMAPHORE may be low total but each wait is brutal.
Test plan
Closes #22
🤖 Generated with Claude Code