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

Prometheus: expose memory breakdown metrics #11746

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

michaelklishin
Copy link
Member

@michaelklishin michaelklishin commented Jul 18, 2024

Closes #11743.

How to test

  1. Start a node with two plugins: rabbitmq_management,rabbitmq_prometheus
  2. Run curl http://guest:guest@localhost:15692/metrics | grep "classic\|quorum\|stream"
  3. Observe the values (if this is a blank node, many will be equal to zero)
  4. Declare a few CQs, QQs, streams
  5. Re-run curl
  6. Observe the values
  7. Delete all CQs
  8. Re-run, observe the metrics
  9. Delete all QQs
  10. Re-run, observe the metrics
  11. Run curl http://guest:guest@localhost:15692/metrics | grep "memory" and inspect the rest, verify help labels, etc

@michaelklishin michaelklishin merged commit e2af359 into main Jul 18, 2024
189 checks passed
@michaelklishin michaelklishin deleted the mk-rabbitmq-server-11743 branch July 18, 2024 19:47
michaelklishin added a commit that referenced this pull request Jul 18, 2024
Prometheus: expose memory breakdown metrics (backport #11746) (backport #11751)
michaelklishin added a commit that referenced this pull request Jul 19, 2024
….x/pr-11751

Revert "Prometheus: expose memory breakdown metrics (backport #11746) (backport #11751)"
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.

Provide detailed memory metrics via prometheus plugin
2 participants