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
Add metrics related to CPU quotas and CPU throttling (Linux CFS bandwidth control), as well as
the total CPU usage from Linux cgroups CPU accounting. Those metrics can be useful in multi-tenant
cloud environments, in particular on Elastic Cloud nodes that use CPU boosting (vCPU credits).
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,11 @@ Further Information
221
221
| elasticsearch_jvm_memory_pool_max_bytes | counter | 3 | JVM memory max by pool |
222
222
| elasticsearch_jvm_memory_pool_peak_used_bytes | counter | 3 | JVM memory peak used by pool |
223
223
| elasticsearch_jvm_memory_pool_peak_max_bytes | counter | 3 | JVM memory peak max by pool |
224
+
| elasticsearch_os_cgroup_cpu_cfs_period_micros | gauge | 1 | CPU period length in microseconds (Linux CFS bandwidth control) |
225
+
| elasticsearch_os_cgroup_cpu_cfs_quota_micros | gauge | 1 | CPU quota per CPU period (cgroup_cfs_period_micros) in microseconds (Linux CFS bandwidth control) |
226
+
| elasticsearch_os_cgroup_cpu_stat_number_of_times_throttled | counter | 1 | Number of times the process has been throttled (Linux CFS bandwidth control) |
227
+
| elasticsearch_os_cgroup_cpu_stat_time_throttled_nanos | counter | 1 | Total time duration (in nanoseconds) for which the process has been throttled (Linux CFS bandwidth control) |
228
+
| elasticsearch_os_cgroup_cpuacct_usage_nanos | counter | 1 | Total CPU usage in nanoseconds (Linux cgroups CPU accounting) |
224
229
| elasticsearch_os_cpu_percent | gauge | 1 | Percent CPU used by the OS |
// NodeStatsOSCgroupCPUResponse represents the current CPU quota (quota value and the corresponding period), as well as the related CPU throttling stats (Linux CFS bandwidth control)
# HELP elasticsearch_os_cgroup_cpu_stat_time_throttled_nanos Total time duration (in nanoseconds) for which the process has been throttled (Linux CFS bandwidth control)
365
+
# TYPE elasticsearch_os_cgroup_cpu_stat_time_throttled_nanos counter
# HELP elasticsearch_os_cgroup_cpu_stat_time_throttled_nanos Total time duration (in nanoseconds) for which the process has been throttled (Linux CFS bandwidth control)
839
+
# TYPE elasticsearch_os_cgroup_cpu_stat_time_throttled_nanos counter
# HELP elasticsearch_os_cgroup_cpu_stat_time_throttled_nanos Total time duration (in nanoseconds) for which the process has been throttled (Linux CFS bandwidth control)
1377
+
# TYPE elasticsearch_os_cgroup_cpu_stat_time_throttled_nanos counter
0 commit comments