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
process_metrics_linux.go: avoid precision loss when calculating process_cpu_seconds_total metric value
Previously the sum of two floating-point numbers - utime and stime - could lead to precision loss,
which is usually visible as too many digits after the floating point such as 1.29999999999999 instead of 1.3
or 2.00000000000001 instead of 2.
This should improve the compression rate at VictoriaMetrics side for this metric.
0 commit comments