Elastic-apm-agent in .net 6 generates a lot of Microsoft-Windows-DotNETRuntime/ExceptionThrown events

The reason was in prometheus-net library. In version 7.0.0 it subscribed to all eventsources in app domain.

I upgraded it to version 8 and the problem went away.

Thank you for your participation!

1 Like