Hystrix.stream
Good afternoon, I came across a strange problem with the dashboard, which is a big problem for me and I've done some investigations and found the probable cause. When I select an application, the dashboard queries the hystrix.stream on that instance to make enable or disable the button, but this have a huge impact on hystrix stream because the stream actually is never closed and then after some time I get a max reached on the poller of the hystrix metrics. From my investigation, I see that on the services.js there's a $http.head to the hystrix stream, and if there's a response, then the button is active, but this will make the stream open and never closed, reaching the limit of 5 quite easily. Do you have the same issue? Is there a way to cancel or abort that head call?
thank you very much.
With kind regards, Rodrigo
I think I found a way to solve this issue. It seems that it's only possible to abort a connection via a plain ajax call, like with jquery: $.ajax(... I fixed the problem this way. Probably there're better ways to do it, but this way I control the connection and now all the Pollers are stopped. If you wish I can commit the changes I've made?
Thank you very much.
With kind regards, Rodrigo
@pakizito , thanks a lot for your investigation.
Can you send your fix in a PR ?
Will do now.
Hi @pakizito , do you have any news about the fix of this issue ?
Thanks. Julien.