Skip to content

Commit 1c7c8ee

Browse files
committed
Fix XE session names we filter out
Closes #1116
1 parent 3aaf067 commit 1c7c8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sp_Blitz.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4221,7 +4221,7 @@ IF @ProductVersionMajor >= 10
42214221
'Hey big spender, you have ' + CAST(COUNT_BIG(*) AS VARCHAR(30)) + ' Extended Events sessions running. You sure you meant to do that?' AS Details
42224222
FROM sys.dm_xe_sessions
42234223
WHERE [name] NOT IN
4224-
('system_health', 'sp_server_diagnostics session', 'hkenginexesession', 'telemetry_xevents')
4224+
( 'AlwaysOn_health', 'system_health', 'telemetry_xevents', 'sp_server_diagnostics', 'hkenginexesession' )
42254225
AND name NOT LIKE '%$A%'
42264226
HAVING COUNT_BIG(*) >= 2;
42274227
END;

0 commit comments

Comments
 (0)