Add FinOps monitoring collectors and reporting views#464
Merged
erikdarlingdata merged 1 commit intodevfrom Mar 7, 2026
Merged
Conversation
… reporting views Tier 1 — Four reporting views on existing collected data: - report.finops_database_resource_usage: per-database CPU, I/O, execution rollup - report.finops_utilization_efficiency: over/under/right-provisioned scoring - report.finops_peak_utilization: hour-of-day utilization heatmap - report.finops_application_resource_usage: per-application connection attribution Tier 2 — Two new collectors (Dashboard + Lite): - database_size_stats: per-file sizes via sys.master_files + FILEPROPERTY, with Azure SQL DB variant, 60-min frequency, 90-day retention for growth trending - server_properties: edition, version, CPU/memory hardware, Enterprise feature usage via dm_db_persisted_sku_features, daily collection, 365-day retention, deduplication via row hash Includes install scripts (52, 53, 54), table definitions, schedule registration, master collector dispatch, ensure_collection_table entries, upgrade script for existing installations, Lite DuckDB schema v16, and two new C# collector partials. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 task
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
sys.master_files+FILEPROPERTYwith Azure SQL DB variant, 60-min frequency, 90-day retention for growth trendingdm_db_persisted_sku_features, daily collection with deduplication, 365-day retention for license auditFiles
install/52_collect_database_size_stats.sql— new collectorinstall/53_collect_server_properties.sql— new collectorinstall/54_create_finops_views.sql— 4 reporting viewsLite/Services/RemoteCollectorService.DatabaseSize.cs— Lite collectorLite/Services/RemoteCollectorService.ServerProperties.cs— Lite collectorupgrades/2.1.0-to-2.2.0/05_add_finops_collectors.sql— upgrade scriptTest plan
EXEC collect.database_size_stats_collector @debug = 1on sql2022EXEC collect.server_properties_collector @debug = 1on sql2022report.finops_*views🤖 Generated with Claude Code