You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/inputs/cpu-metrics.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# CPU metrics
2
2
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.
4
4
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%):
6
6
7
7
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.
8
8
9
-
|key|description|
9
+
|Key|Description|
10
10
| :--- | :--- |
11
11
|`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. |
12
12
|`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.
15
15
16
16
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:
17
17
18
-
|key|description|
18
+
|Key|Description|
19
19
| :--- | :--- |
20
20
|`cpuN.p_cpu`| Represents the total CPU usage by core `N`. |
21
21
|`cpuN.p_user`| Total CPU spent in user mode or user space programs associated to this core. |
0 commit comments