What is a custom collector?
A customer collector is a diagnostics collection that shows up under "Custom Diagnostics". 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 additon to available collectors shipped for the project, you can define your own custom collectors that allow you to
- run TSQL scripts
- run utilities such as batch file or exe
- run JScript or VBScript
- export registry key
For a walk-thru on how to do this, see
Creating Custom Collectors