Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: memory sampler missing some metric #227

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

brayniac
Copy link
Contributor

As reported in #224, memory sampler is not reporting stats for
memory/active/anon, memory/inactive/anon, due to an error in
the regex used to grab the statistic names from /proc/meminfo.

This PR fixes the issue by changing the character class used in the
regex.

As reported in twitter#224, memory sampler is not reporting stats for
`memory/active/anon`, `memory/inactive/anon`, due to an error in
the regex used to grab the statistic names from `/proc/meminfo`.

This PR fixes the issue by changing the character class used in the
regex.
@brayniac brayniac merged commit cb33151 into twitter:master Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant