Parent Component: hostmetrics
The following metrics are emitted by default. Each of them can be disabled by applying the following configuration:
metrics:
<metric_name>:
enabled: false
Total seconds each logical CPU spent on each mode.
Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
---|---|---|---|---|
s | Sum | Double | Cumulative | true |
Name | Description | Values |
---|---|---|
cpu | Logical CPU number starting at 0. | Any Str |
state | Breakdown of CPU usage by type. | Str: idle , interrupt , nice , softirq , steal , system , user , wait |
The following metrics are not emitted by default. Each of them can be enabled by applying the following configuration:
metrics:
<metric_name>:
enabled: true
Current frequency of the CPU core in Hz.
Unit | Metric Type | Value Type |
---|---|---|
Hz | Gauge | Double |
Name | Description | Values |
---|---|---|
cpu | Logical CPU number starting at 0. | Any Str |
Number of available logical CPUs.
Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
---|---|---|---|---|
{cpu} | Sum | Int | Cumulative | false |
Number of available physical CPUs.
Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
---|---|---|---|---|
{cpu} | Sum | Int | Cumulative | false |
Difference in system.cpu.time since the last measurement per logical CPU, divided by the elapsed time (value in interval [0,1]).
Unit | Metric Type | Value Type |
---|---|---|
1 | Gauge | Double |
Name | Description | Values |
---|---|---|
cpu | Logical CPU number starting at 0. | Any Str |
state | Breakdown of CPU usage by type. | Str: idle , interrupt , nice , softirq , steal , system , user , wait |