Giter VIP home page Giter VIP logo

rabbit-hole's People

Contributors

akurz avatar alex-slynko avatar chunyilyu avatar daktari avatar dcorbacho avatar dependabot[bot] avatar e-nikolov avatar fenollp avatar gerhard avatar grimthereaper avatar hjweddie avatar jakauppila avatar jippi avatar jordanbcooper avatar kavu avatar mcwarman avatar michaelklishin avatar michalkurzeja avatar mirahimage avatar mkrueger-sabio avatar mkuratczyk avatar mqhenning avatar mrluje avatar needsalongholiday avatar niclic avatar nkcraddock avatar pathcl avatar radeksimko avatar rvelaz avatar shubhang93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rabbit-hole's Issues

Broken Overview() method for rabbitmq management 3.5.1

/api/overview response:

{"management_version":"3.5.1","rates_mode":"basic","exchange_types":[{"name":"topic","description":"AMQP topic exchange, as per the AMQP specification","enabled":true},{"name":"fanout","description":"AMQP fanout exchange, as per the AMQP specification","enabled":true},{"name":"direct","description":"AMQP direct exchange, as per the AMQP specification","enabled":true},{"name":"headers","description":"AMQP headers exchange, as per the AMQP specification","enabled":true}],"rabbitmq_version":"3.5.1","cluster_name":"rabbit@localhost","erlang_version":"17","erlang_full_version":"Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:4:4] [async-threads:30] [hipe] [kernel-poll:true]","message_stats":{},"queue_totals":{"messages":0,"messages_details":{"rate":0.0},"messages_ready":0,"messages_ready_details":{"rate":0.0},"messages_unacknowledged":0,"messages_unacknowledged_details":{"rate":0.0}},"object_totals":{"consumers":0,"queues":1,"exchanges":8,"connections":0,"channels":0},"statistics_db_event_queue":0,"node":"rabbit@localhost","statistics_db_node":"rabbit@localhost","listeners":[{"node":"rabbit@localhost","protocol":"amqp","ip_address":"127.0.0.1","port":5672},{"node":"rabbit@localhost","protocol":"clustering","ip_address":"::","port":25672},{"node":"rabbit@localhost","protocol":"mqtt","ip_address":"::","port":1883},{"node":"rabbit@localhost","protocol":"stomp","ip_address":"::","port":61613}],"contexts":[{"node":"rabbit@localhost","description":"RabbitMQ Management","path":"/","port":"15672"}]}

in contexts item:

{"node":"rabbit@localhost","description":"RabbitMQ Management","path":"/","port":"15672"}

field "port" is of type string instead of expected int.

Expose consumer utilization

I'd like to add the consumer_utilisation in the QueueInfo struct but I'm not sure how to achieve this without using a more flexible unpacking routine than encoding/json.

On the wire, an empty value looks like this:

"consumer_utilisation":"",

And a populated value looks like this:

"consumer_utilisation": 0.04539788196622643,

So if I try, this will work for the empty value, but blows up with a populated value:

ConsumerUtilisation string `json:"consumer_utilisation"`

Conversely, if I try

ConsumerUtilisation float64 `json:"consumer_utilisation"`

This will unpack the the populated float but will blow up with an empty string.

The option

ConsumerUtilisation float64 `json:"consumer_utilisation,string"`

doesn't seem to handle the empty string either.

Another approach might be to ask RabbitHQ if this could get patched on the server, but this might end up breaking other clients, and is only available from a certain release forwards.

Any ideas on how to proceed?

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.