Skip to content

gsker/rabbitmq-graphviz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script to display RabbitMQ topology using graphviz, heavily inspired by the RabbitMQ Getting Started tutorial.

To generate the samples (currently only one):

$ make samples

To run:

$ python rabbitmq_graphviz.py -d [DEFINITIONS_FILE] -o [DOT_FILE]

Use the -p and -c flags to render a producer and consumer respectively. This assumes one publisher per exchange and one consumer per queue (because the real topology is not known to the broker), but has been included on the basis that it gives a basic outline that can be manually updated if needed.

Per default, the script renders the default vhost '/'. Use the -v flag to explicitely use another vhost.

For help:

$ python rabbitmq_graphviz.py -h

Limitations:

  • there is currently no way to render all vhosts in one image

Sample output for the default vhost '/':

Sample Output

Sample output for the custom vhost '/somevhost':

Sample Output

About

Script to display RabbitMQ topology using graphviz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%