Martin Obrátil
Martin Obrátil
### Description I am reporting an issue with `Microsoft.Extensions.Diagnostics.ResourceMonitoring` related to its incompatibility with cgroups v2. This issue is particularly evident when running applications in environments that default to cgroups...
### Description Parsers for CGroups uses buffer for reading from the filesystem. The [buffer](https://github.com/dotnet/extensions/blob/10681a1cdb1e044b05341150203b94d5eec41557/src/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring/Linux/LinuxUtilizationParserCgroupV1.cs#L88) is one and shared between the calls. In case the methods are called in parallel the...
Address the issue where `/sys/fs/cgroup/cpu.max` and `/sys/fs/cgroup/memory.max` report "max", indicating unset limits in cgroup v2. **Changes Made:** - When `/sys/fs/cgroup/cpu.max` reads "max", the number of CPU cores is now derived...
### Package OpenTelemetry.Api.ProviderBuilderExtensions ### Is your feature request related to a problem? There are scenarios in which creating **custom builders** - often by wrapping or subclassing [`MeterProviderBuilder`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Api/Metrics/MeterProviderBuilder.cs) - is necessary...