Skip to content

Alerting for high memory usage? #1545

Answered by Zerpet
sebhoss asked this question in Q&A
Discussion options

You must be logged in to vote

You can benefit of our Grafana dashboards if you consume metrics using Prometheus and let Grafana fire the alerts for you.

The formula you shared is correct to calculate the number of bytes before you hit the memory alarm. Note that rabbitmq_resident_memory_limit_bytes is the "maximum" number of bytes utilised before rabbit fires a memory alarm. This metric does not correlate, nor match the memory limit defined in your resource limits (in the kubernetes manifest).

Answering your question, yes, that's a good method to monitor for memory usage 🙂 The above definition may or may not match your definition of "high memory usage", specially given that the default high memory watermark value is 4…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sebhoss
Comment options

Answer selected by sebhoss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants