Open MaxShoshin opened 4 years ago
Thanks, have you looked into using the new counters API instead? Using the collectors in these libraries affected performance, do that forced is to not use GC and thread pool collectors here and instead use the new counters via https://github.com/neyromant/Neyro.AppMetrics.Extensions
The counters already contain things like exception counts and assembly count.
You might want to look into using that. I have no objection to the functionality existing here, but I won't get to implementing it any time soon.
It will be nice to have current count of loaded assemblies count metric.
According: https://docs.microsoft.com/en-us/dotnet/framework/performance/loader-etw-events
We need to listen following events: LoaderKeyword Events: AssemblyLoad_V1, AssemblyUnload_V1