open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
284 stars 175 forks source link

Change the `process.uptime` metric from a Counter to a Gauge (similar to `system.uptime`) #1518

Closed trask closed 1 week ago

trask commented 1 month ago

Area(s)

area:process

Is your change request related to a problem? Please describe.

the system.uptime metric is being introduced in #1507 as a Gauge (following the rationale in https://github.com/open-telemetry/oteps/pull/185)

this creates inconsistency with the process.uptime metric which is (still) a Counter

Describe the solution you'd like

change the process.uptime metric from a Counter to a Gauge

Describe alternatives you've considered

No response

Additional context

No response