Closed oionut closed 2 years ago
Looks like .NET 6 added a new threadpool adjustment reason- https://github.com/dotnet/runtime/blob/8f7761af3763d0b84acefbb117ed6becd83061d1/src/libraries/System.Private.CoreLib/src/System/Threading/NativeRuntimeEventSource.PortableThreadPool.cs#L70.
I
This has been fixed in version 4.2.4: https://github.com/djluck/prometheus-net.DotNetRuntime/releases/tag/4.2.4.
Thanks for the quick fix @djluck!
Hi I'm facing an exception thrown by the ThreadPoolMetricsProducer:
This happens on a dotnet 6 web api application using the prometheus-net.DotNetRuntime version 4.2.3. The way the collector is initialized: