Add named collection presets (closes #454)#463
Merged
erikdarlingdata merged 1 commit intodevfrom Mar 7, 2026
Merged
Conversation
#454 One-click profile switching for all collector frequencies, requested in #454. SQL: New config.apply_collection_preset proc replaces three legacy profile procs. Uses table variable + UPDATE JOIN for single-operation preset apply. Drops config.enable_realtime_monitoring, enable_consulting_analysis, enable_baseline_monitoring. Dashboard: Preset ComboBox in CollectorScheduleWindow with auto-detection of active preset by comparing current intervals against known definitions. Confirmation dialog before applying. Manual edits switch to Custom. Lite: Same UI pattern in SettingsWindow. Preset definitions and ApplyPreset/GetActivePreset methods on ScheduleManager. Tested all three presets on sql2022 (29 collectors each). Both apps build clean. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
erikdarlingdata
added a commit
that referenced
this pull request
Mar 7, 2026
- Remove 3 dropped legacy preset procs (enable_realtime/consulting/baseline) - Add config.apply_collection_preset (their replacement from PR #463) - Add 2 new collect procs (database_size_stats, server_properties) - Add 4 new FinOps report views - Bump minimum collect table count from 19 to 21 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 task
erikdarlingdata
added a commit
that referenced
this pull request
Mar 7, 2026
- Remove 3 dropped legacy preset procs (enable_realtime/consulting/baseline) - Add config.apply_collection_preset (their replacement from PR #463) - Add 2 new collect procs (database_size_stats, server_properties) - Add 4 new FinOps report views - Bump minimum collect table count from 19 to 21 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
5 tasks
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
config.apply_collection_presetstored proc — applies Aggressive, Balanced, or Low-Impact frequency profiles to all 29 scheduled collectors in one operationCloses #454
Preset intervals
Test plan
🤖 Generated with Claude Code