Obsfly

Microsoft SQL Server Monitoring

Monitorización SQL Server que detecta la regresión de plan antes del incidente.

Obsfly explota Query Store, DMVs y telemetría AlwaysOn AG — los traduce en latencia por firma, wait stats y alertas de pronóstico en cada instancia y réplica.

Why monitor SQL Server

SQL Server gives you Query Store and DMVs for free. Most teams use Profiler or third-party tools for the visualization layer. Obsfly is that visualization layer — without the per-core licensing.

What we scrape

Obsfly reads SQL Server through the surfaces operators already know. No driver changes, no extensions installed by us, no agent on the database itself.

Query Store

Per-query_id runtime stats, plan history, regression detection (2016+).

sys.dm_exec_requests / sys.dm_exec_sessions

Live requests with wait_type and blocking_session_id.

sys.dm_exec_query_stats

Execution stats per cached plan.

sys.dm_os_wait_stats / dm_os_waiting_tasks

Wait-type aggregation.

sys.dm_db_index_usage_stats

Index usage and unused indexes.

sys.dm_hadr_database_replica_states

AlwaysOn AG lag and synchronization.

Key metrics tracked

Top wait types
PAGEIOLATCH, LCK_M_*, SOS_SCHEDULER_YIELD ranked.
Per-query duration / CPU / reads
From Query Store with plan attribution.
Plan regressions
Query Store-detected: same query, slower plan, when it changed.
AlwaysOn replica lag (seconds + LSN)
Per replica, both sync and async modes.
Buffer pool / plan cache hit ratios
Memory pressure indicators.
Lock waits / deadlocks per minute
From extended events deadlock graph parsing.

Common SQL Server pains, and how Obsfly surfaces each

Plan regression after stats update

Sign

Query Store shows two plans, second one slower; regressed_query_id surfaces in the API.

Fix

Force the previous good plan via sp_query_store_force_plan. Investigate stat distribution.

tempdb contention (SOS_SCHEDULER_YIELD + PAGELATCH on tempdb)

Sign

Top waits dominated by PAGELATCH on tempdb pages.

Fix

Multiple tempdb files (one per logical core, up to 8). Trace flag 1118.

AlwaysOn async replica lag

Sign

log_send_queue_size growing; redo_queue_size stable.

Fix

Network bottleneck between primary and async replica. Verify endpoint encryption settings, NIC throughput.

vs Datadog DBM for SQL Server

Datadog DBM SQL Server covers DMVs and Query Store. Obsfly adds plan-regression timeline (visual diff over time, not just point-in-time), forecast bands per metric, and per-replica AG forecasting.
Full Datadog DBM comparison →

FAQ

Editions supported?+

Standard, Enterprise, Web, Express. Azure SQL Database and Managed Instance. SQL Server 2016+ for full Query Store features; 2012/2014 work with reduced detail.

Does it require sysadmin?+

No. The VIEW SERVER STATE and VIEW DATABASE STATE permissions plus SELECT on Query Store views are enough.

· · ·

See Obsfly on your SQL Server.

20-min demo. We connect to a sample SQL Server on the call and reproduce your slowest query in the tool.

SQL Server monitoring — DMVs, Query Store, wait stats, anomalies · Obsfly