process_cpu_seconds_total should be scaled from nano's, not milli's
yrn1 opened this issue · comments
In io.prometheus.metrics.instrumentation.jvm.ProcessMetrics, the value returned from callLongGetter("getProcessCpuTime", osBean)
is in nanoseconds, but is scaled with Unit.millisToSeconds(processCpuTime)
Thanks a lot! Fixed in #882.