Skip to content

[Task] Add node alarm monitoring metrics for RabbitMQ#4041

Open
turanalmammadov wants to merge 1 commit intoapache:masterfrom
turanalmammadov:feat/add-rabbitmq-memory-alarm-monitoring
Open

[Task] Add node alarm monitoring metrics for RabbitMQ#4041
turanalmammadov wants to merge 1 commit intoapache:masterfrom
turanalmammadov:feat/add-rabbitmq-memory-alarm-monitoring

Conversation

@turanalmammadov
Copy link
Contributor

What does this PR do?

Adds a new node_alarms metric set to the RabbitMQ monitoring definition, which polls the /api/nodes endpoint to surface critical node-level alarm states.

Changes

  • app-rabbitmq.yml: Added node_alarms metric set (priority 4) querying /api/nodes, exposing:

    • name – RabbitMQ node name
    • disk_free_alarm – whether disk-free alarm is triggered
    • mem_alarm – whether memory alarm is triggered
    • running – whether the node is running
    • type – node type (disc or ram)
  • home/docs/help/rabbitmq.md: Added node_alarms metric table (English)

  • home/i18n/zh-cn/.../rabbitmq.md: Added node_alarms metric 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

- 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>
@github-actions github-actions bot added doc Improvements or additions to documentation monitoring-template backend labels Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend doc Improvements or additions to documentation monitoring-template

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant