1 write to _scaleRelativeToCpuLimit
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Linux\LinuxUtilizationProvider.cs (1)
57
_scaleRelativeToCpuLimit
= hostCpus / cpuLimit;
1 reference to _scaleRelativeToCpuLimit
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Linux\LinuxUtilizationProvider.cs (1)
68
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.ContainerCpuLimitUtilization, observeValue: () => CpuUtilization() *
_scaleRelativeToCpuLimit
, unit: "1");