Some checks are pending
CI / Build og unit tests (push) Waiting to run
CI / Integration (mcr.microsoft.com/mssql/server:2017-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2019-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2022-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2025-latest) (push) Blocked by required conditions
Collector reads the 100 heaviest queries per Query Store database, split into the last 24 hours and the week before. Rules: - SQLI-QS-001 plan regression: new plan >= 2x slower than the best plan from the week before and >= 60 s extra per day; scripts the force - SQLI-QS-002 forced plan that fails (e.g. NO_INDEX); scripts the unforce - SQLI-QS-003 parameter sensitivity: very different plans or volatile durations; suggests PSP optimization / Query Store hints on 2022+ Also: backups taken in the same second a database was created count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E3EExwndy8Z22EK2Qpt6BK
26 lines
748 B
C#
26 lines
748 B
C#
using SQLInsight.Collectors.Concurrency;
|
|
using SQLInsight.Collectors.Databases;
|
|
using SQLInsight.Collectors.Instance;
|
|
using SQLInsight.Collectors.Performance;
|
|
|
|
namespace SQLInsight.Collectors;
|
|
|
|
public static class BuiltInCollectors
|
|
{
|
|
public static IReadOnlyList<ICollector> Create() =>
|
|
[
|
|
new ServerCollector(),
|
|
new ConfigurationCollector(),
|
|
new TraceFlagCollector(),
|
|
new DatabaseCollector(),
|
|
new SuspectPageCollector(),
|
|
new PlanCacheCollector(),
|
|
new WaitStatsCollector(),
|
|
new FileIoCollector(),
|
|
new PerformanceCounterCollector(),
|
|
new CpuCollector(),
|
|
new BlockingCollector(),
|
|
new DeadlockCollector(),
|
|
new QueryStoreCollector(),
|
|
];
|
|
}
|