You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aid="cpu-logical-number"href="#cpu-logical-number">`cpu.logical_number`</a> | int | The logical CPU number [0..n-1]|`1`||
12
13
| <aid="cpu-mode"href="#cpu-mode">`cpu.mode`</a> | string | The mode of the CPU |`user`; `system`||
| <aid="system-cpu-logical-number"href="#system-cpu-logical-number">`system.cpu.logical_number`</a> | int | The logical CPU number [0..n-1]|`1`||
| <aid="system-cpu-logical-number"href="#system-cpu-logical-number">`system.cpu.logical_number`</a> | int | Deprecated, use `cpu.logical_number` instead. |`1`||
145
137
| <aid="system-cpu-state"href="#system-cpu-state">`system.cpu.state`</a> | string | Deprecated, use `cpu.mode` instead. |`idle`; `interrupt`|<br>Replaced by `cpu.mode`|
146
138
| <aid="system-network-state"href="#system-network-state">`system.network.state`</a> | string | Deprecated, use `network.connection.state` instead. |`close_wait`|<br>Removed, report network connection state with `network.connection.state` attribute |
147
139
| <aid="system-processes-status"href="#system-processes-status">`system.processes.status`</a> | string | Deprecated, use `system.process.status` instead. |`running`|<br>Replaced by `system.process.status`. |
|[`cpu.logical_number`](/docs/attributes-registry/cpu.md)| int | The logical CPU number [0..n-1]|`1`|`Recommended`||
41
+
|[`cpu.mode`](/docs/attributes-registry/cpu.md)| string | The mode of the CPU [1]|`user`; `system`|`Recommended`||
42
+
43
+
**[1]`cpu.mode`:** Following states SHOULD be used: `user`, `system`, `nice`, `idle`, `iowait`, `interrupt`, `steal`
44
+
45
+
---
46
+
47
+
`cpu.mode` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
|`cpu.utilization`| Gauge |`1`| For each logical CPU, the utilization is calculated as the change in cumulative CPU time (cpu.time) over a measurement interval, divided by the elapsed time. ||
|[`cpu.logical_number`](/docs/attributes-registry/cpu.md)| int | The logical CPU number [0..n-1]|`1`|`Recommended`||
83
+
|[`cpu.mode`](/docs/attributes-registry/cpu.md)| string | The mode of the CPU [1]|`user`; `system`|`Recommended`||
84
+
85
+
**[1]`cpu.mode`:** Following modes SHOULD be used: `user`, `system`, `nice`, `idle`, `iowait`, `interrupt`, `steal`
86
+
87
+
---
88
+
89
+
`cpu.mode` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
|[`cpu.logical_number`](/docs/attributes-registry/cpu.md)| int | The logical CPU number [0..n-1]|`1`|`Recommended`||
|[`cpu.mode`](/docs/attributes-registry/cpu.md)| string | The CPU mode for this data point. A system's CPU SHOULD be characterized *either* by data points with no `mode` labels, *or only* data points with `mode` labels. [1]|`user`; `system`|`Recommended`||
123
-
|[`system.cpu.logical_number`](/docs/attributes-registry/system.md)| int | The logical CPU number [0..n-1]|`1`|`Recommended`||
124
-
125
-
**[1]`cpu.mode`:** Following states SHOULD be used: `user`, `system`, `nice`, `idle`, `iowait`, `interrupt`, `steal`
126
-
127
-
---
128
-
129
-
`cpu.mode` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
|`system.cpu.utilization`| Gauge |`1`| Difference in system.cpu.time since the last measurement, divided by the elapsed time and number of logical CPUs ||
|[`cpu.mode`](/docs/attributes-registry/cpu.md)| string | The CPU mode for this data point. A system's CPU SHOULD be characterized *either* by data points with no `mode` labels, *or only* data points with `mode` labels. [1]|`user`; `system`|`Recommended`||
165
-
|[`system.cpu.logical_number`](/docs/attributes-registry/system.md)| int | The logical CPU number [0..n-1]|`1`|`Recommended`||
166
-
167
-
**[1]`cpu.mode`:** Following modes SHOULD be used: `user`, `system`, `nice`, `idle`, `iowait`, `interrupt`, `steal`
168
-
169
-
---
170
-
171
-
`cpu.mode` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
|`system.cpu.frequency`| Gauge |`{Hz}`| Reports the current frequency of the CPU in Hz ||
|[`system.cpu.logical_number`](/docs/attributes-registry/system.md)| int | The logical CPU number [0..n-1]|`1`|`Recommended`||
251
-
252
-
<!-- markdownlint-restore -->
253
-
<!-- prettier-ignore-end -->
254
-
<!-- END AUTOGENERATED TEXT -->
255
-
<!-- endsemconv -->
256
-
257
146
## Memory Metrics
258
147
259
148
**Description:** System level memory metrics capture under the namespace `system.memory`.
brief: "Seconds each logical CPU spent on each mode"
8
+
instrument: counter
9
+
unit: "s"
10
+
attributes:
11
+
- ref: cpu.mode
12
+
note: "Following states SHOULD be used: `user`, `system`, `nice`, `idle`, `iowait`, `interrupt`, `steal`"
13
+
- ref: cpu.logical_number
14
+
15
+
- id: metric.cpu.utilization
16
+
type: metric
17
+
metric_name: cpu.utilization
18
+
stability: development
19
+
brief: "For each logical CPU, the utilization is calculated as the change in cumulative CPU time (cpu.time) over a measurement interval, divided by the elapsed time."
20
+
instrument: gauge
21
+
unit: "1"
22
+
attributes:
23
+
- ref: cpu.mode
24
+
note: "Following modes SHOULD be used: `user`, `system`, `nice`, `idle`, `iowait`, `interrupt`, `steal`"
25
+
- ref: cpu.logical_number
26
+
27
+
- id: metric.cpu.frequency
28
+
type: metric
29
+
metric_name: cpu.frequency
30
+
stability: development
31
+
brief: "Operating frequency of the logical CPU in Hertz."
0 commit comments