|
| 1 | +# System |
| 2 | + |
| 3 | +<!-- toc --> |
| 4 | + |
| 5 | +- [CPU attributes](#cpu-attributes) |
| 6 | +- [Memory attributes](#memory-attributes) |
| 7 | +- [Paging attributes](#paging-attributes) |
| 8 | +- [Filesystem attributes](#filesystem-attributes) |
| 9 | +- [Network attributes](#network-attributes) |
| 10 | +- [Process attributes](#process-attributes) |
| 11 | +- [Deprecated System Attributes](#deprecated-system-attributes) |
| 12 | + |
| 13 | +<!-- tocstop --> |
| 14 | + |
| 15 | +<!-- semconv registry.system(omit_requirement_level) --> |
| 16 | +| Attribute | Type | Description | Examples | Stability | |
| 17 | +|---|---|---|---|---| |
| 18 | +| `system.device` | string | The device identifier | `(identifier)` |  | |
| 19 | +<!-- endsemconv --> |
| 20 | + |
| 21 | +## CPU attributes |
| 22 | + |
| 23 | +<!-- semconv registry.system.cpu(omit_requirement_level) --> |
| 24 | +| Attribute | Type | Description | Examples | Stability | |
| 25 | +|---|---|---|---|---| |
| 26 | +| `system.cpu.logical_number` | int | The logical CPU number [0..n-1] | `1` |  | |
| 27 | +| `system.cpu.state` | string | The state of the CPU | `idle`; `interrupt` |  | |
| 28 | + |
| 29 | +`system.cpu.state` 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. |
| 30 | + |
| 31 | +| Value | Description | Stability | |
| 32 | +|---|---|---| |
| 33 | +| `user` | user |  | |
| 34 | +| `system` | system |  | |
| 35 | +| `nice` | nice |  | |
| 36 | +| `idle` | idle |  | |
| 37 | +| `iowait` | iowait |  | |
| 38 | +| `interrupt` | interrupt |  | |
| 39 | +| `steal` | steal |  | |
| 40 | +<!-- endsemconv --> |
| 41 | + |
| 42 | +## Memory attributes |
| 43 | + |
| 44 | +<!-- semconv registry.system.memory(omit_requirement_level) --> |
| 45 | +| Attribute | Type | Description | Examples | Stability | |
| 46 | +|---|---|---|---|---| |
| 47 | +| `system.memory.state` | string | The memory state | `free`; `cached` |  | |
| 48 | + |
| 49 | +`system.memory.state` 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. |
| 50 | + |
| 51 | +| Value | Description | Stability | |
| 52 | +|---|---|---| |
| 53 | +| `used` | used |  | |
| 54 | +| `free` | free |  | |
| 55 | +| `shared` | shared |  | |
| 56 | +| `buffers` | buffers |  | |
| 57 | +| `cached` | cached |  | |
| 58 | +<!-- endsemconv --> |
| 59 | + |
| 60 | +## Paging attributes |
| 61 | + |
| 62 | +<!-- semconv registry.system.paging(omit_requirement_level) --> |
| 63 | +| Attribute | Type | Description | Examples | Stability | |
| 64 | +|---|---|---|---|---| |
| 65 | +| `system.paging.direction` | string | The paging access direction | `in` |  | |
| 66 | +| `system.paging.state` | string | The memory paging state | `free` |  | |
| 67 | +| `system.paging.type` | string | The memory paging type | `minor` |  | |
| 68 | + |
| 69 | +`system.paging.direction` MUST be one of the following: |
| 70 | + |
| 71 | +| Value | Description | Stability | |
| 72 | +|---|---|---| |
| 73 | +| `in` | in |  | |
| 74 | +| `out` | out |  | |
| 75 | + |
| 76 | +`system.paging.state` MUST be one of the following: |
| 77 | + |
| 78 | +| Value | Description | Stability | |
| 79 | +|---|---|---| |
| 80 | +| `used` | used |  | |
| 81 | +| `free` | free |  | |
| 82 | + |
| 83 | +`system.paging.type` MUST be one of the following: |
| 84 | + |
| 85 | +| Value | Description | Stability | |
| 86 | +|---|---|---| |
| 87 | +| `major` | major |  | |
| 88 | +| `minor` | minor |  | |
| 89 | +<!-- endsemconv --> |
| 90 | + |
| 91 | +## Filesystem attributes |
| 92 | + |
| 93 | +<!-- semconv registry.system.filesystem(omit_requirement_level) --> |
| 94 | +| Attribute | Type | Description | Examples | Stability | |
| 95 | +|---|---|---|---|---| |
| 96 | +| `system.filesystem.mode` | string | The filesystem mode | `rw, ro` |  | |
| 97 | +| `system.filesystem.mountpoint` | string | The filesystem mount path | `/mnt/data` |  | |
| 98 | +| `system.filesystem.state` | string | The filesystem state | `used` |  | |
| 99 | +| `system.filesystem.type` | string | The filesystem type | `ext4` |  | |
| 100 | + |
| 101 | +`system.filesystem.state` MUST be one of the following: |
| 102 | + |
| 103 | +| Value | Description | Stability | |
| 104 | +|---|---|---| |
| 105 | +| `used` | used |  | |
| 106 | +| `free` | free |  | |
| 107 | +| `reserved` | reserved |  | |
| 108 | + |
| 109 | +`system.filesystem.type` 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. |
| 110 | + |
| 111 | +| Value | Description | Stability | |
| 112 | +|---|---|---| |
| 113 | +| `fat32` | fat32 |  | |
| 114 | +| `exfat` | exfat |  | |
| 115 | +| `ntfs` | ntfs |  | |
| 116 | +| `refs` | refs |  | |
| 117 | +| `hfsplus` | hfsplus |  | |
| 118 | +| `ext4` | ext4 |  | |
| 119 | +<!-- endsemconv --> |
| 120 | + |
| 121 | +## Network attributes |
| 122 | + |
| 123 | +<!-- semconv registry.system.network(omit_requirement_level) --> |
| 124 | +| Attribute | Type | Description | Examples | Stability | |
| 125 | +|---|---|---|---|---| |
| 126 | +| `system.network.state` | string | A stateless protocol MUST NOT set this attribute | `close_wait` |  | |
| 127 | + |
| 128 | +`system.network.state` MUST be one of the following: |
| 129 | + |
| 130 | +| Value | Description | Stability | |
| 131 | +|---|---|---| |
| 132 | +| `close` | close |  | |
| 133 | +| `close_wait` | close_wait |  | |
| 134 | +| `closing` | closing |  | |
| 135 | +| `delete` | delete |  | |
| 136 | +| `established` | established |  | |
| 137 | +| `fin_wait_1` | fin_wait_1 |  | |
| 138 | +| `fin_wait_2` | fin_wait_2 |  | |
| 139 | +| `last_ack` | last_ack |  | |
| 140 | +| `listen` | listen |  | |
| 141 | +| `syn_recv` | syn_recv |  | |
| 142 | +| `syn_sent` | syn_sent |  | |
| 143 | +| `time_wait` | time_wait |  | |
| 144 | +<!-- endsemconv --> |
| 145 | + |
| 146 | +## Process attributes |
| 147 | + |
| 148 | +<!-- semconv registry.system.process(omit_requirement_level) --> |
| 149 | +| Attribute | Type | Description | Examples | Stability | |
| 150 | +|---|---|---|---|---| |
| 151 | +| `system.process.status` | string | The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) | `running` |  | |
| 152 | + |
| 153 | +`system.process.status` 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. |
| 154 | + |
| 155 | +| Value | Description | Stability | |
| 156 | +|---|---|---| |
| 157 | +| `running` | running |  | |
| 158 | +| `sleeping` | sleeping |  | |
| 159 | +| `stopped` | stopped |  | |
| 160 | +| `defunct` | defunct |  | |
| 161 | +<!-- endsemconv --> |
| 162 | + |
| 163 | +## Deprecated System Attributes |
| 164 | + |
| 165 | +<!-- semconv registry.system.deprecated(omit_requirement_level) --> |
| 166 | +| Attribute | Type | Description | Examples | Stability | |
| 167 | +|---|---|---|---|---| |
| 168 | +| `system.processes.status` | string | Deprecated, use `system.process.status` instead. | `running` | <br>Replaced by `system.process.status`. | |
| 169 | + |
| 170 | +`system.processes.status` 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. |
| 171 | + |
| 172 | +| Value | Description | Stability | |
| 173 | +|---|---|---| |
| 174 | +| `running` | running |  | |
| 175 | +| `sleeping` | sleeping |  | |
| 176 | +| `stopped` | stopped |  | |
| 177 | +| `defunct` | defunct |  | |
| 178 | +<!-- endsemconv --> |
0 commit comments