pub(crate) fn record()Expand description
Sets the process.memory.rss_bytes gauge to the resident set size of this process, and
process.memory.rss_fraction to that size as a fraction of the memory it can use: the cgroup
memory limit, or the machine’s memory if no cgroup sets a lower limit.
Does nothing on platforms without /proc, or if the values can’t be read.