Skip to content
This repository was archived by the owner on Nov 18, 2020. It is now read-only.

New diagnostics command: runtime_thread_stats #282

Merged
merged 1 commit into from
Dec 10, 2018
Merged

Conversation

michaelklishin
Copy link
Contributor

@michaelklishin michaelklishin commented Dec 7, 2018

Uses Erlang's microstate accounting data to produce a high level thread state/activity breakdown.

Usage:

# sample for 5 seconds
rabbitmq-diagnostics runtime_thread_stats -i 5

Per discussion with @gerhard.

Depends on rabbitmq/rabbitmq-common#286.

Uses Erlang's microstate accounting data to produce
high level thread state/activity breakdown.

Per discussion with @gerhard.
@michaelklishin michaelklishin added this to the 3.7.10 milestone Dec 7, 2018
@michaelklishin michaelklishin merged commit c549841 into master Dec 10, 2018
@michaelklishin michaelklishin deleted the msacc-command branch December 10, 2018 12:59
@gerhard
Copy link
Contributor

gerhard commented Dec 10, 2018

👍 looking good, didn't have time to try it out though.

While I remember, it might be worth mentioning the --with-microstate-accounting=extra Erlang/OTP configure flag. We do this by default in all Erlang packages in the rabbitmq-server-boshrelease.

@michaelklishin
Copy link
Contributor Author

Backported to v3.7.x.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants