-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.11] Core metrics collection - collect more memory related metrics (#…
…172146) (#172271) # Backport This will backport the following commits from `main` to `8.11`: - [Core metrics collection - collect more memory related metrics (#172146)](#172146) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pierre Gayvallet","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-11-30T10:47:46Z","message":"Core metrics collection - collect more memory related metrics (#172146)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana/issues/171060\r\n\r\nAdd additional memory metrics for collection:\r\n\r\n**process**:\r\n- `process.memory.array_buffers_in_bytes` the\r\n`process.memoryUsage().arrayBuffers` value\r\n- `process.memory.external_in_bytes` the\r\n`process.memoryUsage().external` value\r\n\r\n**cgroup**: (v2 only)\r\n- `os.cgroupMemory.current_in_bytes` value from\r\n`/sys/fs/cgroup/{group}/memory.current`\r\n- `os.cgroupMemory.swap_current_in_bytes` value from\r\n`/sys/fs/cgroup/{group}/memory.swap.current`","sha":"b323fc90a81dd404686c1858a3c525ae1cc922ae","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","Feature:Stack Monitoring","backport:prev-minor","v8.12.0"],"number":172146,"url":"https://github.com/elastic/kibana/pull/172146","mergeCommit":{"message":"Core metrics collection - collect more memory related metrics (#172146)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana/issues/171060\r\n\r\nAdd additional memory metrics for collection:\r\n\r\n**process**:\r\n- `process.memory.array_buffers_in_bytes` the\r\n`process.memoryUsage().arrayBuffers` value\r\n- `process.memory.external_in_bytes` the\r\n`process.memoryUsage().external` value\r\n\r\n**cgroup**: (v2 only)\r\n- `os.cgroupMemory.current_in_bytes` value from\r\n`/sys/fs/cgroup/{group}/memory.current`\r\n- `os.cgroupMemory.swap_current_in_bytes` value from\r\n`/sys/fs/cgroup/{group}/memory.swap.current`","sha":"b323fc90a81dd404686c1858a3c525ae1cc922ae"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172146","number":172146,"mergeCommit":{"message":"Core metrics collection - collect more memory related metrics (#172146)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana/issues/171060\r\n\r\nAdd additional memory metrics for collection:\r\n\r\n**process**:\r\n- `process.memory.array_buffers_in_bytes` the\r\n`process.memoryUsage().arrayBuffers` value\r\n- `process.memory.external_in_bytes` the\r\n`process.memoryUsage().external` value\r\n\r\n**cgroup**: (v2 only)\r\n- `os.cgroupMemory.current_in_bytes` value from\r\n`/sys/fs/cgroup/{group}/memory.current`\r\n- `os.cgroupMemory.swap_current_in_bytes` value from\r\n`/sys/fs/cgroup/{group}/memory.swap.current`","sha":"b323fc90a81dd404686c1858a3c525ae1cc922ae"}}]}] BACKPORT--> Co-authored-by: Pierre Gayvallet <[email protected]>
- Loading branch information
1 parent
0e1d692
commit 4131708
Showing
19 changed files
with
176 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.