Open JagmohanSharma opened 7 years ago
Please see https://github.com/Netflix/Hystrix/issues/1251 In my opinion this feature is broken. Also calculation for commands is invalid. This is related to Turbine 1.0 and 2.0 incompatibility: https://github.com/Netflix/Turbine/issues/100
Dashboard module moved to https://github.com/Netflix-Skunkworks/hystrix-dashboard
In order to fix issue with TPS in hystrix-dashboard, code changes were made previously in hystrixCommand.js https://github.com/Netflix/Hystrix/issues/1251, but as these changes were not done in hystrixThreadPool.js which causing a different value for TPS in threadpool section of dashboard.
Above line of code was removed from below method in previous changes in hystrixCommand.js:
But same calculation is also being done in hystrixThreadPool.js as below:
I think previously removed line(avg calculation for
propertyValue_metricsRollingStatisticalWindowInMilliseconds
) is also not required in hystrixThreadPool.js which causing wrong value for TPS in threadPool section of dashboard. I have updated code with this change and started a pull request for review. Please let me know if changes are good to go to fix this issue.