Giter VIP home page Giter VIP logo

Comments (5)

numo16 avatar numo16 commented on August 16, 2024 1

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.

numo16 avatar numo16 commented on August 16, 2024

I can take this one on if nobody else is interested.

from rabbit-viz.

numo16 avatar numo16 commented on August 16, 2024

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:
image

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.

jpreese avatar jpreese commented on August 16, 2024

I think it's a good enough start and better than we have right now (which is nada).

from rabbit-viz.

numo16 avatar numo16 commented on August 16, 2024

Example definition has been implemented and deployed to the gh-pages site.

from rabbit-viz.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.