-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify semantics of system.cpu.time and system.cpu.utilization #647
Comments
My interpretation has been that We have a general convention for The duration could be fixed or it could be variable, logically speaking, depending on temporality. In a cumulative temporality export, we have to pick a time window independent of the collection interval: do we want a 1-minute utilization, a 5-minute utilization, and so on? In a delta temporality export, we can set the duration equal to the collection interval, at which point we are describing a cumulative-to-delta translation essentially: we have to remember the prior value of |
I think we need these clarifications in the spec. |
Either way because |
Based on the spec they supposed to be reported with the same set of attributes: cpu and state. If cpu is set for both (and it should be), limit in the calculations above ^ is always 1. So they are not that different. If I agree that they both can exist in the specification, but not sure if it's useful to emit them both. Maybe it should be clarified along with their difference in the spec. In OTel Collector, we have a way to collect optional metrics. I think this is a good use case for that: |
Discussed on January 18th System Semantic Conventions WG meeting, we consider this a blocker. @jsuereth Can you transfer this to the semantic-conventions repository? |
The |
@open-telemetry/semconv-system-approvers is this still valid? The only missing piece is about making it |
We have system.cpu.time and system.cpu.utilization semantic conventions which don't explain what the metrics track.
Is
system.cpu.time
just the cumulative value ofsystem.cpu.utilization
or there are other differences? If they track the exact same value with same attributes and the only difference is that one is cumulative and the other is delta do we really need both?The text was updated successfully, but these errors were encountered: