Open jander-msft opened 3 years ago
It appears that rather than polling, the FileSystemWatcher can be used to discover when named pipes and Unix domain sockets are created and deleted. Polling can be added as a fallback for filesystems that do not support change notification.
If collection rules are to be support for .NET Core 3.1 process or processes discovered via
connect
mode (dotnet-monitor reaches out to individual processes to establish diagnostic pipe connection), then process polling will need to be implemented. This will also require #49 to be completed in order to record which processes were already discovered in prior polling attempts.