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

cpu stats per query thread #10634

Merged
merged 5 commits into from Feb 25, 2021

Conversation

MrZammler
Copy link
Contributor

Summary

Adds a cpu usage chart for each query thread.

cpu_per_query_thread

Component Name

ACLK

Test Plan

The agent node must be claimed.
View the agent from the cloud to create queries to the agent.
Observe the charts by e.g. adding load when requesting non visible charts via the cloud.
Observe the charts also on idle.

Additional Information

Query threads are measured only when they are responding to queries.

aclk/legacy/aclk_query.c Outdated Show resolved Hide resolved
aclk/legacy/aclk_stats.c Outdated Show resolved Hide resolved
underhood
underhood previously approved these changes Feb 17, 2021
@MrZammler
Copy link
Contributor Author

Thank you both!

@MrZammler MrZammler merged commit dbd1624 into netdata:master Feb 25, 2021
Saruspete pushed a commit to Saruspete/netdata that referenced this pull request Mar 17, 2021
* cpu stats per query thread

* remove dim_name

* limit calls to getrusage to MAX_GETRUSAGE_CALLS_PER_TICK per tick, per thread

* proper parenthesis

* use proper limits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants