[Task] Add node alarm monitoring metrics for RabbitMQ#4041
Open
turanalmammadov wants to merge 1 commit intoapache:masterfrom
Open
[Task] Add node alarm monitoring metrics for RabbitMQ#4041turanalmammadov wants to merge 1 commit intoapache:masterfrom
turanalmammadov wants to merge 1 commit intoapache:masterfrom
Conversation
- Add node_alarms metric set to app-rabbitmq.yml using /api/nodes endpoint - Exposes: node name, disk_free_alarm, mem_alarm, running status, node type - Update docs: home/docs/help/rabbitmq.md (English) - Update docs: home/i18n/zh-cn/.../rabbitmq.md (Chinese) This allows operators to detect disk space and memory pressure alarms on RabbitMQ cluster nodes proactively. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a new
node_alarmsmetric set to the RabbitMQ monitoring definition, which polls the/api/nodesendpoint to surface critical node-level alarm states.Changes
app-rabbitmq.yml: Addednode_alarmsmetric set (priority 4) querying/api/nodes, exposing:name– RabbitMQ node namedisk_free_alarm– whether disk-free alarm is triggeredmem_alarm– whether memory alarm is triggeredrunning– whether the node is runningtype– node type (discorram)home/docs/help/rabbitmq.md: Addednode_alarmsmetric table (English)home/i18n/zh-cn/.../rabbitmq.md: Addednode_alarmsmetric table (Chinese)Why is this needed?
RabbitMQ triggers memory and disk alarms that block message publishing. Monitoring these alarms in HertzBeat lets operators detect and respond to resource pressure before it causes service outages.
Made with Cursor