suneet-s commented on code in PR #16472: URL: https://github.com/apache/druid/pull/16472#discussion_r1607346888
########## docs/operations/metrics.md: ########## @@ -516,8 +516,12 @@ These metrics are available on operating systems with the cgroup kernel feature. |------|-----------|----------|------------| |`cgroup/cpu/shares`|Relative value of CPU time available to this process. Read from `cpu.shares`.||Varies| |`cgroup/cpu/cores_quota`|Number of cores available to this process. Derived from `cpu.cfs_quota_us`/`cpu.cfs_period_us`.||Varies. A value of -1 indicates there is no explicit quota set.| +|`cgroup/cpuacct/usage`|Reports the total CPU time (in nanoseconds) consumed by all tasks in this process||Varies| Review Comment: ```suggestion |`cgroup/cpuacct/usage/ns`|Reports the total CPU time (in nanoseconds) consumed by all tasks in this process||Varies| ``` Include the unit in the metric name to make it easier for consumers of the metric to understand the value without having to read the docs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
