diff --git a/service/internal/telemetry/process_telemetry.go b/service/internal/telemetry/process_telemetry.go index 1a2ff42bb3a..8bf2b0b24c4 100644 --- a/service/internal/telemetry/process_telemetry.go +++ b/service/internal/telemetry/process_telemetry.go @@ -159,7 +159,11 @@ func (pm *processMetrics) updateCPUSeconds() float64 { return 0 } - return times.Total() + total := times.User + times.System + times.Idle + times.Nice + + times.Iowait + times.Irq + times.Softirq + times.Steal + times.Guest + + times.GuestNice + + return total } func (pm *processMetrics) updateRSSMemory() int64 {