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

Feature Request: Add "json" as valid output for "info" command #58

Open
manuel-koch opened this issue Aug 6, 2021 · 2 comments
Open

Comments

@manuel-koch
Copy link

To ease parsing of rabtap output, it would be nice if "json" would be a valid output format, using it like
rabtap info --stats --format=json

@jandelgado
Copy link
Owner

I hesitated to implement this feature, because the REST API of RabbitMQ, which rabtap uses, does already provide this information: https://rawcdn.githack.com/rabbitmq/rabbitmq-server/v3.9.1/deps/rabbitmq_management/priv/www/api/index.html

rabtap offers an aggregated view combining different resources. Could you also use the REST API directly?

@manuel-koch
Copy link
Author

Yes, I could use RabbitMQ REST API - just thought it would be convenient to use rabtap for that too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants