Skip to content

[receiver/rabbitmq] Enhance rabbitmqreceiver to collect full set of node-level metrics from /api/nodes #38998

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

Conversation

VenuEmmadi
Copy link
Member

Description

This change enhances the rabbitmqreceiver to collect a comprehensive set of 74 node-level metrics from the /api/nodes endpoint.
Metrics span multiple categories, including:

  • Memory usage
  • Disk space and alarms
  • File descriptors (usage, limits, rates)
  • Socket usage and rates
  • Process count and rates
  • Garbage collection stats
  • I/O statistics
  • Context switches
  • Cluster info and runtime metadata
  • Plugin/configuration metadata

This provides richer observability into RabbitMQ node performance, capacity, and system health.

Link to tracking issue

Fixes #38997

Testing

  • Added unit tests to verify parsing of new metrics fields.
  • Manually tested against a local RabbitMQ instance with the management plugin enabled.
  • Validated metric names, types, units, and attributes emitted by the receiver.

Documentation

Updated README with a reference to newly supported node metrics and metric categories.

@atoulme atoulme merged commit 680ad71 into open-telemetry:main Mar 27, 2025
171 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 27, 2025
Fiery-Fenix pushed a commit to Fiery-Fenix/opentelemetry-collector-contrib that referenced this pull request Apr 24, 2025
…ode-level metrics from /api/nodes (open-telemetry#38998)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
### **Description**

This change enhances the rabbitmqreceiver to collect a comprehensive set
of 74 node-level metrics from the /api/nodes endpoint.
Metrics span multiple categories, including:

- Memory usage
- Disk space and alarms
- File descriptors (usage, limits, rates)
- Socket usage and rates
- Process count and rates
- Garbage collection stats
- I/O statistics
- Context switches
- Cluster info and runtime metadata
- Plugin/configuration metadata

This provides richer observability into RabbitMQ node performance,
capacity, and system health.

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
### **Link to tracking issue**
Fixes open-telemetry#38997

<!--Describe what testing was performed and which tests were added.-->
### **Testing**

- Added unit tests to verify parsing of new metrics fields.
- Manually tested against a local RabbitMQ instance with the management
plugin enabled.
- Validated metric names, types, units, and attributes emitted by the
receiver.

<!--Describe the documentation added.-->
### **Documentation**
Updated README with a reference to newly supported node metrics and
metric categories.

<!--Please delete paragraphs that you did not use before submitting.-->
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.

Enhance RabbitMQ receiver to support full set of node-level metrics from /api/nodes
3 participants