Skip to content

Commit af987bb

Browse files
authored
Merge pull request #1553 from BrentOzarULTD/issue_1552
Fix session name list
2 parents 99b0b7f + 5f5f3f3 commit af987bb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sp_Blitz.sql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4279,7 +4279,12 @@ IF @ProductVersionMajor >= 10
42794279
'Hey big spender, you have ' + CAST(COUNT_BIG(*) AS VARCHAR(30)) + ' Extended Events sessions running. You sure you meant to do that?' AS Details
42804280
FROM sys.dm_xe_sessions
42814281
WHERE [name] NOT IN
4282-
( 'AlwaysOn_health', 'system_health', 'telemetry_xevents', 'sp_server_diagnostics', 'hkenginexesession' )
4282+
( 'AlwaysOn_health',
4283+
'system_health',
4284+
'telemetry_xevents',
4285+
'sp_server_diagnostics',
4286+
'sp_server_diagnostics session',
4287+
'hkenginexesession' )
42834288
AND name NOT LIKE '%$A%'
42844289
HAVING COUNT_BIG(*) >= 2;
42854290
END;

0 commit comments

Comments
 (0)