Add process.runtime.jvm.cpu.time metric #3490
Labels
area:semantic-conventions
Related to semantic conventions
spec:metrics
Related to the specification/metrics directory
We have debated whether to reuse
process.cpu.time
, and we are currently leaning towards introducingprocess.runtime.jvm.cpu.time
, primarily in order to avoid issues and confusion whenprocess.cpu.time
is also captured by the collector.Even though the "instrumentation scope" and resource attributes will be different when
process.cpu.time
is captured by the collector:process.cpu.time
emitted by the collector andprocess.cpu.time
emitted by the JVM would end up double counting CPU usageprocess.runtime.jvm.cpu.time
has the added benefit of being clear that this is the CPU time that is reported by the JVM (we aren't scraping metrics from the O/S).The text was updated successfully, but these errors were encountered: