Skip to content

Commit e928dd8

Browse files
esmerelcnorris-cs
andauthored
Apply suggestions from code review
Co-authored-by: Craig Norris <[email protected]> Signed-off-by: Lynette Miles <[email protected]>
1 parent be2a9bb commit e928dd8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pipeline/inputs/cpu-metrics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# CPU metrics
22

3-
The _CPU_ input plugin, measures the CPU usage of a process or the whole system by default (considering per CPU core). It reports values in percentage unit for every interval of time set. This plugin is only available for Linux.
3+
The _CPU_ input plugin, measures the CPU usage of a process or the whole system by default (considering per CPU core). It reports values in percentage unit for every interval of time set. This plugin is available only for Linux.
44

5-
The following tables describes the information generated by the plugin. The following keys represent the data used by the overall system, all values associated to the keys are in a percentage unit (0 to 100%):
5+
The following tables describe the information generated by the plugin. The following keys represent the data used by the overall system, and all values associated to the keys are in a percentage unit (0 to 100%):
66

77
The CPU metrics plugin creates metrics that are log-based, such as JSON payload. For Prometheus-based metrics, see the _Node Exporter Metrics_ input plugin.
88

9-
| key | description |
9+
| Key | Description |
1010
| :--- | :--- |
1111
| `cpu_p` | CPU usage of the overall system, this value is the summation of time spent on user and kernel space. The result takes in consideration the numbers of CPU cores in the system. |
1212
| `user_p` | CPU usage in User mode, for short it means the CPU usage by user space programs. The result of this value takes in consideration the numbers of CPU cores in the system. |
@@ -15,7 +15,7 @@ The CPU metrics plugin creates metrics that are log-based, such as JSON payload.
1515

1616
In addition to the keys reported in the previous table, a similar content is created per CPU core. The cores are listed from `0` to `N` as the Kernel reports:
1717

18-
| key | description |
18+
| Key | Description |
1919
| :--- | :--- |
2020
| `cpuN.p_cpu` | Represents the total CPU usage by core `N`. |
2121
| `cpuN.p_user` | Total CPU spent in user mode or user space programs associated to this core. |

0 commit comments

Comments
 (0)