-
Notifications
You must be signed in to change notification settings - Fork 96
Custom Collector
JosephPilov-msft edited this page Oct 22, 2021
·
7 revisions
A customer collector is a diagnostics collection that shows up under "Custom Diagnostics" tab in PSSDIAG. See the red circle in the image below. By default, the Sqldiag collector engine can collect profiler traces, perfmon, errorlogs and server configuration information. But the collector engine has framework that allows a user to define custom diagnostics (custom collectors). In addition to available collectors shipped for the project, you can define your own custom collectors that allow you to
- run T-SQL scripts
- run utilities such as a batch file (*.CMD or *.BAT) or an .EXE
- run JScript or VBScript
- export registry key
For a walk-thru on how to do this, see Creating Custom Collectors