1 write to _processInfo
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\WindowsContainerSnapshotProvider.cs (1)
79
_processInfo
= processInfo;
3 references to _processInfo
Microsoft.Extensions.Diagnostics.ResourceMonitoring (3)
Windows\WindowsContainerSnapshotProvider.cs (3)
113
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.ContainerMemoryLimitUtilization, observeValue: () => MemoryPercentage(() =>
_processInfo
.GetMemoryUsage()));
117
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.ProcessMemoryUtilization, observeValue: () => MemoryPercentage(() =>
_processInfo
.GetCurrentProcessMemoryUsage()));
131
_processInfo
.GetCurrentProcessMemoryUsage());