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

[receiver/rabbitmq] Enhancement/rabbitmq Added node level metrics #37495

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

VenuEmmadi
Copy link
Contributor

Description

This PR enhances the RabbitMQ receiver by adding support for node-level metrics collection. It introduces the enable_node_metrics flag in the configuration, allowing users to enable or disable the collection of node-specific metrics such as:

  • rabbitmq.node.disk_free: Free disk space on the node.
  • rabbitmq.node.fd_used: The number of file descriptors used on the node.
  • rabbitmq.node.mem_limit: The memory limit on the node.
  • rabbitmq.node.mem_used: The memory used on the node.

This enhancement improves the flexibility and granularity of the metrics collection for RabbitMQ monitoring.

Link to tracking issue

Fixes #36925

Testing

  • Added unit tests to validate the enable_node_metrics flag functionality.
  • Verified that metrics are collected correctly when the flag is enabled and omitted when disabled.
  • Ran integration tests to ensure the receiver operates without issues in various configurations.

Documentation

  • Updated the README.md with details about the new enable_node_metrics flag.
  • Added examples in config.yaml to demonstrate how to configure the receiver with the new flag.
  • Included explanations for node-specific metrics in metadata.yaml.

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.

[rabbitmqreceiver] Add node level metrics to receiver
2 participants