3 references to CpuUtilization
Microsoft.Extensions.Diagnostics.ResourceMonitoring (3)
Linux\LinuxUtilizationProvider.cs (3)
68
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.ContainerCpuLimitUtilization, observeValue: () =>
CpuUtilization
() * _scaleRelativeToCpuLimit, unit: "1");
70
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.ContainerCpuRequestUtilization, observeValue: () =>
CpuUtilization
() * _scaleRelativeToCpuRequest, unit: "1");
72
_ = meter.CreateObservableGauge(name: ResourceUtilizationInstruments.ProcessCpuUtilization, observeValue: () =>
CpuUtilization
() * _scaleRelativeToCpuRequest, unit: "1");