From 7601aab9b21615a26fa5d3779b9be97e8827ea0f Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Tue, 31 Mar 2026 14:29:38 -0400 Subject: [PATCH 01/30] README: add shields.io badge flair (repo + social) Co-Authored-By: Claude Opus 4.6 (1M context) --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index bdfd3b2..2d3d4d3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,21 @@ # SQL Server Performance Monitor +

+ GitHub Stars + GitHub Forks + License: MIT + Latest Release + Open Issues + Last Commit + CI +

+

+ Follow @ErikDarlingData on X + YouTube Subscribe + LinkedIn Connect + Blog +

+ **Free, open-source monitoring that replaces the tools charging you thousands per server per year.** 30+ collectors, real-time alerts, built-in MCP server for AI analysis. Nothing phones home. Your data stays on your server and your machine. **Supported:** SQL Server 2016–2025 | Azure SQL Managed Instance | AWS RDS for SQL Server | Azure SQL Database (Lite only) From 79d5bc69ca558ed17455ff604b358bd4d1da7282 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Wed, 1 Apr 2026 09:40:31 -0400 Subject: [PATCH 02/30] Enable upgrade detection in Edit Server dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the _isEditMode guard so Test Connection calls DetectDatabaseStatusAsync() in both Add and Edit modes. Users can now upgrade the PerformanceMonitor database from Edit Server without re-adding the server. Closes #771 (partial — Edit Server flow only) Co-Authored-By: Claude Opus 4.6 (1M context) --- Dashboard/AddServerDialog.xaml.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dashboard/AddServerDialog.xaml.cs b/Dashboard/AddServerDialog.xaml.cs index cad5489..1ab8bc6 100644 --- a/Dashboard/AddServerDialog.xaml.cs +++ b/Dashboard/AddServerDialog.xaml.cs @@ -331,11 +331,8 @@ private async void TestConnection_Click(object sender, RoutedEventArgs e) MessageBoxImage.Information ); - /* After successful connection in Add mode, check database status */ - if (!_isEditMode) - { - await DetectDatabaseStatusAsync(); - } + /* After successful connection, check database status */ + await DetectDatabaseStatusAsync(); } else if (mfaCancelled) { From c77e970fb9ce92f3a1c3cec2388185858d3bf071 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Wed, 1 Apr 2026 16:29:26 -0400 Subject: [PATCH 03/30] Fix embedded resource upgrade discovery and add server version UX (#772) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MSBuild mangles embedded resource names for upgrade folders (e.g., "2.2.0-to-2.3.0" becomes "_2._2._0_to_2._3._0"), which caused EmbeddedResourceScriptProvider to fail parsing all upgrade folders. Dashboard upgrades silently returned zero results, so upgrade scripts never ran and schema changes were missing. Fix: use regex to match mangled names and unmangle back to original folder names. Also surface installed Monitor version throughout the Dashboard UX — NOC health cards, sidebar server list, right-click context menus, Manage Servers, and a new "Check for Updates" button in the Edit Server dialog. Pin dialog buttons outside the scroll area so they remain visible during long install/upgrade operations. Fixes #772 Co-Authored-By: Claude Opus 4.6 (1M context) --- Dashboard/AddServerDialog.xaml | 36 ++++--- Dashboard/AddServerDialog.xaml.cs | 18 ++++ Dashboard/Controls/LandingPage.xaml | 4 +- Dashboard/Controls/LandingPage.xaml.cs | 79 +++++++++++++++ Dashboard/Controls/ServerHealthCard.xaml | 13 +++ Dashboard/Controls/ServerHealthCard.xaml.cs | 20 ++++ Dashboard/MainWindow.xaml | 9 ++ Dashboard/MainWindow.xaml.cs | 71 +++++++++++++ Dashboard/ManageServersWindow.xaml | 1 + Dashboard/ManageServersWindow.xaml.cs | 107 ++++++++++++++++++++ Dashboard/Models/ServerConnectionStatus.cs | 6 ++ Dashboard/Models/ServerHealthStatus.cs | 18 ++++ Dashboard/Models/ServerListItem.cs | 17 ++++ Dashboard/Services/ServerManager.cs | 42 ++++++++ Installer.Core/Patterns.cs | 8 ++ Installer.Core/ScriptProvider.cs | 53 ++++++++-- Installer.Tests/UpgradeOrderingTests.cs | 35 +++++++ 17 files changed, 514 insertions(+), 23 deletions(-) diff --git a/Dashboard/AddServerDialog.xaml b/Dashboard/AddServerDialog.xaml index bcdb6ca..a4c788f 100644 --- a/Dashboard/AddServerDialog.xaml +++ b/Dashboard/AddServerDialog.xaml @@ -2,13 +2,19 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Add SQL Server" - SizeToContent="Height" Width="500" MaxHeight="1050" + Height="750" Width="500" WindowStartupLocation="CenterOwner" - ResizeMode="NoResize" + ResizeMode="CanResizeWithGrip" Background="{DynamicResource BackgroundBrush}" Foreground="{DynamicResource ForegroundBrush}"> - - + + + + + + + + @@ -16,7 +22,6 @@ - @@ -217,14 +222,17 @@ Foreground="{DynamicResource ForegroundMutedBrush}" TextWrapping="Wrap" Margin="0,8,0,0" Visibility="Collapsed"/> - - -