4 references to LinuxUtilizationProvider
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Linux\LinuxUtilizationProvider.cs (3)
19
private readonly ILogger<
LinuxUtilizationProvider
> _logger;
40
IMeterFactory meterFactory, ILogger<
LinuxUtilizationProvider
>? logger = null, TimeProvider? timeProvider = null)
43
_logger = logger ?? NullLogger<
LinuxUtilizationProvider
>.Instance;
ResourceMonitoringServiceCollectionExtensions.cs (1)
117
builder.Services.TryAddActivatedSingleton<ISnapshotProvider,
LinuxUtilizationProvider
>();