Add system.cpu.physical.count and system.cpu.logical.count metrics (#99)
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com> Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
This commit is contained in:
parent
6c82745744
commit
f4ed03e456
|
|
@ -117,6 +117,8 @@ Note: This is the first release of Semantic Conventions separate from the Specif
|
||||||
([#133](https://github.com/open-telemetry/semantic-conventions/pull/133))
|
([#133](https://github.com/open-telemetry/semantic-conventions/pull/133))
|
||||||
- Add markdown file for url semantic conventions
|
- Add markdown file for url semantic conventions
|
||||||
([#174](https://github.com/open-telemetry/semantic-conventions/pull/174))
|
([#174](https://github.com/open-telemetry/semantic-conventions/pull/174))
|
||||||
|
- Add `system.cpu.physical.count` and `system.cpu.logical.count` metrics.
|
||||||
|
([#99](https://github.com/open-telemetry/opentelemetry-specification/pull/99))
|
||||||
|
|
||||||
## v1.20.0 (2023-04-07)
|
## v1.20.0 (2023-04-07)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,12 +33,14 @@ instruments not explicitly defined in the specification.
|
||||||
|
|
||||||
**Description:** System level processor metrics.
|
**Description:** System level processor metrics.
|
||||||
|
|
||||||
| Name | Description | Units | Instrument Type ([*](/docs/general/metrics.md#instrument-types)) | Value Type | Attribute Key(s) | Attribute Values |
|
| Name | Description | Units | Instrument Type ([*](/docs/general/metrics.md#instrument-types)) | Value Type | Attribute Key(s) | Attribute Values |
|
||||||
| ---------------------- | -------------------------------------------------------------------------------------------------------- | ----- | ------------------------------------------------- | ---------- | ---------------- | ----------------------------------- |
|
| ------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----- | ------------------------------------------------- | ---------- | ---------------- | ----------------------------------- |
|
||||||
| system.cpu.time | | s | Counter | Double | state | idle, user, system, interrupt, etc. |
|
| system.cpu.time | Seconds each logical CPU spent on each mode | s | Counter | Double | state | idle, user, system, interrupt, etc. |
|
||||||
| | | | | | cpu | CPU number [0..n-1] |
|
| | | | | | cpu | Logical CPU number [0..n-1] |
|
||||||
| system.cpu.utilization | Difference in system.cpu.time since the last measurement, divided by the elapsed time and number of CPUs | 1 | Gauge | Double | state | idle, user, system, interrupt, etc. |
|
| system.cpu.utilization | Difference in system.cpu.time since the last measurement, divided by the elapsed time and number of logical CPUs | 1 | Gauge | Double | state | idle, user, system, interrupt, etc. |
|
||||||
| | | | | | cpu | CPU number (0..n) |
|
| | | | | | cpu | Logical CPU number (0..n) |
|
||||||
|
| system.cpu.physical.count | Reports the number of actual physical processor cores on the hardware | {cpu} | UpDownCounter | Int64 | | |
|
||||||
|
| system.cpu.logical.count | Reports the number of logical (virtual) processor cores created by the operating system to manage multitasking | {cpu} | UpDownCounter | Int64 | | |
|
||||||
|
|
||||||
### `system.memory.` - Memory metrics
|
### `system.memory.` - Memory metrics
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue