Hello, I've just updated from version 4.1 to 4.2 and I'm now seeing the exception above.
It's a .NET 6 project and I'm doing DotNetRuntimeStatsBuilder.Customize().WithThreadPoolStats().WithGcStats().StartCollecting().
Reverting back fixes the problem, but I am frankly not sure if all the metrics are really emitted since the project is in development and there is nothing scraping it yet.
Hello, I've just updated from version 4.1 to 4.2 and I'm now seeing the exception above.
It's a .NET 6 project and I'm doing
DotNetRuntimeStatsBuilder.Customize().WithThreadPoolStats().WithGcStats().StartCollecting().Reverting back fixes the problem, but I am frankly not sure if all the metrics are really emitted since the project is in development and there is nothing scraping it yet.