Skip to content

Add anon and file-backed RSS metrics

Matthias Käppler requested to merge mk-anon-vs-filebacked-metrics into master

What does this MR do and why?

It could be useful to track anonymous and file-backed memory growth in Ruby separately, so I added two new process metrics:

  • ruby_process_resident_anon_memory_bytes
  • ruby_process_resident_file_memory_bytes

They should always sum to ruby_process_resident_memory_bytes. Technically this means that we could remove this one, but that would be a breaking change and it is also quite convenient to have all three.

Born out of this discussion: https://gitlab.com/gitlab-com/gl-infra/capacity-planning/-/issues/171#note_1150647010

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Matthias Käppler

Merge request reports

Loading