184 lines
15 KiB
Markdown
184 lines
15 KiB
Markdown
<!--- Hugo front matter used to generate the website version of this page:
|
|
--->
|
|
|
|
<!-- NOTE: THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
|
|
<!-- see templates/registry/markdown/attribute_namespace.md.j2 -->
|
|
|
|
# System
|
|
|
|
- [System](#system-attributes)
|
|
- [System Cpu](#system-cpu-attributes)
|
|
- [System Deprecated](#system-deprecated-attributes)
|
|
- [System Filesystem](#system-filesystem-attributes)
|
|
- [System Memory](#system-memory-attributes)
|
|
- [System Network](#system-network-attributes)
|
|
- [System Paging](#system-paging-attributes)
|
|
- [System Process](#system-process-attributes)
|
|
|
|
## System Attributes
|
|
|
|
Describes System attributes
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
| --------------- | ------ | --------------------- | -------------- | ---------------------------------------------------------------- |
|
|
| `system.device` | string | The device identifier | `(identifier)` |  |
|
|
|
|
## System Cpu Attributes
|
|
|
|
Describes System CPU attributes
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
| --------------------------- | ------ | ------------------------------- | ------------------------ | ---------------------------------------------------------------- |
|
|
| `system.cpu.logical_number` | int | The logical CPU number [0..n-1] | `1` |  |
|
|
| `system.cpu.state` | string | The state of the CPU | `user`; `system`; `nice` |  |
|
|
|
|
`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.
|
|
|
|
| Value | Description | Stability |
|
|
| ----------- | ----------- | ---------------------------------------------------------------- |
|
|
| `user` | none |  |
|
|
| `system` | none |  |
|
|
| `nice` | none |  |
|
|
| `idle` | none |  |
|
|
| `iowait` | none |  |
|
|
| `interrupt` | none |  |
|
|
| `steal` | none |  |
|
|
|
|
## System Deprecated Attributes
|
|
|
|
Deprecated system attributes.
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
| ------------------------- | ------ | ------------------------------------------------ | -------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
| `system.processes.status` | string | Deprecated, use `system.process.status` instead. | `running`; `sleeping`; `stopped` | <br>Replaced by `system.process.status`. |
|
|
|
|
`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.
|
|
|
|
| Value | Description | Stability |
|
|
| ---------- | ----------- | ---------------------------------------------------------------- |
|
|
| `running` | none |  |
|
|
| `sleeping` | none |  |
|
|
| `stopped` | none |  |
|
|
| `defunct` | none |  |
|
|
|
|
## System Filesystem Attributes
|
|
|
|
Describes Filesystem attributes
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
| ------------------------------ | ------ | ------------------------- | -------------------------- | ---------------------------------------------------------------- |
|
|
| `system.filesystem.mode` | string | The filesystem mode | `rw, ro` |  |
|
|
| `system.filesystem.mountpoint` | string | The filesystem mount path | `/mnt/data` |  |
|
|
| `system.filesystem.state` | string | The filesystem state | `used`; `free`; `reserved` |  |
|
|
| `system.filesystem.type` | string | The filesystem type | `fat32`; `exfat`; `ntfs` |  |
|
|
|
|
`system.filesystem.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.
|
|
|
|
| Value | Description | Stability |
|
|
| ---------- | ----------- | ---------------------------------------------------------------- |
|
|
| `used` | none |  |
|
|
| `free` | none |  |
|
|
| `reserved` | none |  |
|
|
|
|
`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.
|
|
|
|
| Value | Description | Stability |
|
|
| --------- | ----------- | ---------------------------------------------------------------- |
|
|
| `fat32` | none |  |
|
|
| `exfat` | none |  |
|
|
| `ntfs` | none |  |
|
|
| `refs` | none |  |
|
|
| `hfsplus` | none |  |
|
|
| `ext4` | none |  |
|
|
|
|
## System Memory Attributes
|
|
|
|
Describes System Memory attributes
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
| --------------------- | ------ | ---------------- | ------------------------ | ---------------------------------------------------------------- |
|
|
| `system.memory.state` | string | The memory state | `used`; `free`; `shared` |  |
|
|
|
|
`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.
|
|
|
|
| Value | Description | Stability |
|
|
| --------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| `used` | none |  |
|
|
| `free` | none |  |
|
|
| `shared` | none | <br>Removed, report shared memory usage with `metric.system.memory.shared` metric |
|
|
| `buffers` | none |  |
|
|
| `cached` | none |  |
|
|
|
|
## System Network Attributes
|
|
|
|
Describes Network attributes
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
| ---------------------- | ------ | ------------------------------------------------ | -------------------------------- | ---------------------------------------------------------------- |
|
|
| `system.network.state` | string | A stateless protocol MUST NOT set this attribute | `close`; `close_wait`; `closing` |  |
|
|
|
|
`system.network.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.
|
|
|
|
| Value | Description | Stability |
|
|
| ------------- | ----------- | ---------------------------------------------------------------- |
|
|
| `close` | none |  |
|
|
| `close_wait` | none |  |
|
|
| `closing` | none |  |
|
|
| `delete` | none |  |
|
|
| `established` | none |  |
|
|
| `fin_wait_1` | none |  |
|
|
| `fin_wait_2` | none |  |
|
|
| `last_ack` | none |  |
|
|
| `listen` | none |  |
|
|
| `syn_recv` | none |  |
|
|
| `syn_sent` | none |  |
|
|
| `time_wait` | none |  |
|
|
|
|
## System Paging Attributes
|
|
|
|
Describes System Memory Paging attributes
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
| ------------------------- | ------ | --------------------------- | ---------------- | ---------------------------------------------------------------- |
|
|
| `system.paging.direction` | string | The paging access direction | `in`; `out` |  |
|
|
| `system.paging.state` | string | The memory paging state | `used`; `free` |  |
|
|
| `system.paging.type` | string | The memory paging type | `major`; `minor` |  |
|
|
|
|
`system.paging.direction` 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.
|
|
|
|
| Value | Description | Stability |
|
|
| ----- | ----------- | ---------------------------------------------------------------- |
|
|
| `in` | none |  |
|
|
| `out` | none |  |
|
|
|
|
`system.paging.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.
|
|
|
|
| Value | Description | Stability |
|
|
| ------ | ----------- | ---------------------------------------------------------------- |
|
|
| `used` | none |  |
|
|
| `free` | none |  |
|
|
|
|
`system.paging.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.
|
|
|
|
| Value | Description | Stability |
|
|
| ------- | ----------- | ---------------------------------------------------------------- |
|
|
| `major` | none |  |
|
|
| `minor` | none |  |
|
|
|
|
## System Process Attributes
|
|
|
|
Describes System Process attributes
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
| ----------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ---------------------------------------------------------------- |
|
|
| `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`; `sleeping`; `stopped` |  |
|
|
|
|
`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.
|
|
|
|
| Value | Description | Stability |
|
|
| ---------- | ----------- | ---------------------------------------------------------------- |
|
|
| `running` | none |  |
|
|
| `sleeping` | none |  |
|
|
| `stopped` | none |  |
|
|
| `defunct` | none |  |
|