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
Current implementation of process_cpu_seconds_total gauge uses cutime + cstime so for processes without child's returns 0 Below is an output for example app metric
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total gauge
process_cpu_seconds_total 0.000000
Can it be calculated as utime + stime + cutime + cstime to produce a valid result?
The text was updated successfully, but these errors were encountered:
pavelmash
pushed a commit
to pavelmash/prometheus-client-c
that referenced
this issue
Dec 13, 2020
Current implementation of
process_cpu_seconds_total
gauge usescutime + cstime
so for processes without child's returns 0 Below is an output for example app metricCan it be calculated as
utime + stime + cutime + cstime
to produce a valid result?The text was updated successfully, but these errors were encountered: