2 references to ProcessMemoryUtilization
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Windows\WindowsContainerSnapshotProvider.cs (1)
117
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.
ProcessMemoryUtilization
, observeValue: () => MemoryPercentage(() => _processInfo.GetCurrentProcessMemoryUsage()));
Windows\WindowsSnapshotProvider.cs (1)
88
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.
ProcessMemoryUtilization
, observeValue: MemoryPercentage);