Fix deadlock charts not populating data#80
Merged
erikdarlingdata merged 1 commit intodevfrom Feb 16, 2026
Merged
Conversation
Four fixes for the deadlock chart pipeline: - Dashboard charts: plot raw per-interval columns instead of delta columns (blocking_event_count, deadlock_count, etc.) since delta framework incorrectly computed current-previous=0 for per-interval values - XAML: remove "(Delta)" from all four Locking > Trends chart titles - Analyzer: filter collect.deadlocks on collection_time instead of event_date so late-arriving XE deadlock events are not missed - Process XML: add +1 second buffer to @end_date so sp_BlitzLock's strict less-than filter works when processing a single deadlock event 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
Changes
Dashboard (ServerTab.xaml.cs): Plot raw per-interval columns (
DeadlockCount,BlockingEventCount, etc.) instead of delta columns. The delta framework incorrectly computedcurrent - previous = 0for values that are already per-interval counts.Dashboard (ServerTab.xaml): Remove "(Delta)" from all four Locking > Trends chart titles.
Analyzer (26_blocking_deadlock_analyzer.sql): Filter
collect.deadlocksoncollection_timeinstead ofevent_date. Deadlock XE events have significant collection lag (e.g., 170+ minutes), so filtering onevent_datemissed late-arriving rows.Process XML (25_process_deadlock_xml.sql): Add +1 second buffer to
@end_datewhen derived from a single unprocessed row.sp_BlitzLockuses strict< @EndDate, so when@start_date = @end_date(single event), nothing matched.Test Plan
Closes #73
Generated with Claude Code