opentelemetry-go-contrib icon indicating copy to clipboard operation
opentelemetry-go-contrib copied to clipboard

Rename or remove runtime.uptime metric from instrumentation/runtime package

Open jmacd opened this issue 3 years ago • 1 comments

In #1549 added a "process." prefix to the metrics that had been prefixed "runtime.go" already., The "runtime.uptime" metric was not renamed, but it also did not have the "runtime.go" prefix.

In my opinion, rutime.uptime should be removed and OTel would ideally specify a resource attribute that would allow deriving the uptime at the moment of any data point, see https://github.com/open-telemetry/opentelemetry-specification/issues/1273. My preference is to remove "runtime.uptime".

An alternative is to rename this "process.runtime.go.uptime", since OTel hasn't specified a cross-lang process uptime metric presently.

jmacd avatar Aug 05 '22 21:08 jmacd

Would like to work on this issue @jmacd @MrAlias

AkhigbeEromo avatar Mar 18 '24 22:03 AkhigbeEromo

The uptime metric was deprecated in https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.29.0. Closing.

MrAlias avatar Oct 17 '24 14:10 MrAlias