1 write to _scaleRelativeToCpuRequest
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Linux\LinuxUtilizationProvider.cs (1)
58
_scaleRelativeToCpuRequest
= hostCpus / cpuRequest;
2 references to _scaleRelativeToCpuRequest
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationProvider.cs (2)
70
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.ContainerCpuRequestUtilization, observeValue: () => CpuUtilization() *
_scaleRelativeToCpuRequest
, unit: "1");
72
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.ProcessCpuUtilization, observeValue: () => CpuUtilization() *
_scaleRelativeToCpuRequest
, unit: "1");