-
Notifications
You must be signed in to change notification settings - Fork 239
Revert cpu.*
metrics to system.cpu.*
#2295
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
base: main
Are you sure you want to change the base?
Conversation
In open-telemetry#1873 we decided that these metrics should move back to the `system` namespace to stay consistent with similar per-device type metrics in the `system` namespace such as `disk` and `network`.
@@ -33,29 +33,7 @@ This metric is [recommended][MetricRecommended]. | |||
|
|||
| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations | | |||
| -------- | --------------- | ----------- | -------------- | --------- | ------ | | |||
| `cpu.time` | Counter | `s` | Seconds each logical CPU spent on each mode |  | | | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please update md to generate correct metrics here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since there are no more cpu.*
metrics, I've removed this document in f5597bc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we have system.cpu.time
metrics somewhere in markdown? It doesn't seem so
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in f5597bc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean we should add system.cpu.time | utilization | frequency
here https://github.com/open-telemetry/semantic-conventions/blob/main/docs/system/system-metrics.md
Related to #1873
Changes
In #1873 we decided that these metrics should move back to the
system
namespace to stay consistent with similar per-device-type metrics in thesystem
namespace such asdisk
andnetwork
.Merge requirement checklist
[chore]