Skip to content

Add CPU frequencies to system.asynchronous_metrics#11972

Merged
akuzm merged 4 commits intomasterfrom
aku/cpu-freq
Jun 26, 2020
Merged

Add CPU frequencies to system.asynchronous_metrics#11972
akuzm merged 4 commits intomasterfrom
aku/cpu-freq

Conversation

@akuzm
Copy link
Copy Markdown
Contributor

@akuzm akuzm commented Jun 25, 2020

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add CPU frequencies to system.asynchronous_metrics. Make the metric collection period configurable.

@alexey-milovidov alexey-milovidov self-assigned this Jun 25, 2020
@akuzm akuzm merged commit 58bf6f7 into master Jun 26, 2020
@akuzm akuzm deleted the aku/cpu-freq branch June 26, 2020 17:46
@CurtizJ CurtizJ added the pr-improvement Pull request with some product improvements label Jul 17, 2020
// It doesn't read the EOL itself.
++buf.position();

if (s.rfind("core id", 0) == 0)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes single CPU per system, because core id is unique per physical CPU. I'm also not sure if hyperthreads necessarily run at the same frequency on all CPUs. Having a metric per logical CPU alleviates both issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants