[receiver/rabbitmq] Enhancement/rabbitmq Added node level metrics #38473
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.
Description
This PR enhances the RabbitMQ receiver by adding support for node-level metrics collection. It introduces the ability to individually enable the collection of specific node metrics, including:
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 by allowing users to configure which node metrics to collect.
Link to tracking issue
Fixes #36925
Testing
Documentation
README.md
with details about the new per-metric configuration options for enabling node-level metrics.config.yaml
to demonstrate how to configure the receiver with the new metrics.metadata.yaml
.