Comments (5)
Thanks for the idea @luissantos! This is a great idea that would improve the immediate understanding of the tool and should be fairly easy to implement.
from rabbit-viz.
I can take this one on if nobody else is interested.
from rabbit-viz.
The implementation of this that I'm putting together is fairly simple, but should demonstrate the basics. The sample definition looks like this:
{
"vhosts": [{
"name": "logs"
}],
"policies": [{
"vhost": "logs",
"name": "logs",
"pattern": ".*",
"apply-to": "all",
"definition": {
"ha-mode": "all",
"ha-sync-mode": "manual"
},
"priority": 0
}],
"queues": [{
"name": "log",
"vhost": "logs",
"durable": true,
"auto_delete": false,
"arguments": {}
}, {
"name": "critical",
"vhost": "logs",
"durable": true,
"auto_delete": false,
"arguments": {}
}, {
"name": "alert",
"vhost": "logs",
"durable": true,
"auto_delete": false,
"arguments": {}
}],
"exchanges": [{
"name": "logs",
"vhost": "logs",
"type": "topic",
"durable": true,
"auto_delete": false,
"internal": false,
"arguments": {}
}],
"bindings": [{
"source": "logs",
"vhost": "logs",
"destination": "log",
"destination_type": "queue",
"routing_key": "log.*",
"arguments": {}
}, {
"source": "logs",
"vhost": "logs",
"destination": "critical",
"destination_type": "queue",
"routing_key": "*.critical",
"arguments": {}
}, {
"source": "logs",
"vhost": "logs",
"destination": "alert",
"destination_type": "queue",
"routing_key": "alert.*",
"arguments": {}
}]
}
This produces a graph like this:
This feels like a sufficient sample, without going full sample repository a la ARMVIZ, but I'm open to concerns/suggestions with this sample.
from rabbit-viz.
I think it's a good enough start and better than we have right now (which is nada).
from rabbit-viz.
Example definition has been implemented and deployed to the gh-pages site.
from rabbit-viz.
Related Issues (14)
- Replace react-scripts-ts HOT 1
- Add ability to output visualization
- Add ability to import directly from RabbitMQ node/cluster HOT 1
- Only use npm for package management
- Visualize different exchange types in different ways
- Show alternate-exchange as edge
- Show arguments and properties on queues, exchanges and binding
- help to newbies which not similar with npm HOT 7
- Update README with better setup instructions
- Add ability to simulate message traversal
- Add ability to view headers exchange structure HOT 1
- Issue displaying multiple routing keys
- Handle definition for a single vhost
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbit-viz.