You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if container CPU limit utilization is 60%, the metric reports the 60 value instead of 0.6.
Affected metrics:
dotnet.process.memory.virtual.utilization
process.cpu.utilization
container.memory.limit.utilization
container.cpu.limit.utilization
Reproduction Steps
Just use Resource Monitoring library on Windows and an exporter for the affected metrics, and you will see the incorrect values.
Expected behavior
Metrics on Windows report values in the [0,1] range as documented. For example, if container CPU limit utilization is 60%, the metric should report the 0.6 value
Actual behavior
Metrics on Windows report values in the [0,100] range. For example, if container CPU limit utilization is 60%, the metric reports the 60 value
Regression?
No, it behaves like that since the introduction in #5290
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered:
Description
Metrics on Windows report values in the [0,100] range despite the documentation mentioning the [0,1] range:
https://learn.microsoft.com/en-us/dotnet/core/diagnostics/built-in-metrics-diagnostics#metric-containercpulimitutilization
For example, if container CPU limit utilization is 60%, the metric reports the
60
value instead of0.6
.Affected metrics:
dotnet.process.memory.virtual.utilization
process.cpu.utilization
container.memory.limit.utilization
container.cpu.limit.utilization
Reproduction Steps
Just use Resource Monitoring library on Windows and an exporter for the affected metrics, and you will see the incorrect values.
Expected behavior
Metrics on Windows report values in the [0,1] range as documented. For example, if container CPU limit utilization is 60%, the metric should report the
0.6
valueActual behavior
Metrics on Windows report values in the [0,100] range. For example, if container CPU limit utilization is 60%, the metric reports the
60
valueRegression?
No, it behaves like that since the introduction in #5290
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: