2 implementations of ILinuxUtilizationParser
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationParserCgroupV1.cs (1)
18
internal sealed class LinuxUtilizationParserCgroupV1 :
ILinuxUtilizationParser
Linux\LinuxUtilizationParserCgroupV2.cs (1)
20
internal sealed class LinuxUtilizationParserCgroupV2 :
ILinuxUtilizationParser
4 references to ILinuxUtilizationParser
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Linux\LinuxUtilizationProvider.cs (2)
20
private readonly
ILinuxUtilizationParser
_parser;
39
public LinuxUtilizationProvider(IOptions<ResourceMonitoringOptions> options,
ILinuxUtilizationParser
parser,
ResourceMonitoringServiceCollectionExtensions.cs (2)
137
builder.Services.TryAddSingleton<
ILinuxUtilizationParser
, LinuxUtilizationParserCgroupV2>();
141
builder.Services.TryAddSingleton<
ILinuxUtilizationParser
, LinuxUtilizationParserCgroupV1>();