Commit 17998095 by Spencer Gibb

Merge branch 'hystrix-144'

parents 38e25f39 a7658397
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<archaius.version>0.6.5</archaius.version> <archaius.version>0.6.5</archaius.version>
<eureka.version>1.1.147</eureka.version> <eureka.version>1.1.147</eureka.version>
<feign.version>8.1.0</feign.version> <feign.version>8.1.0</feign.version>
<hystrix.version>1.4.1</hystrix.version> <hystrix.version>1.4.4</hystrix.version>
<ribbon.version>2.0.0</ribbon.version> <ribbon.version>2.0.0</ribbon.version>
<zuul.version>1.0.28</zuul.version> <zuul.version>1.0.28</zuul.version>
<netflix.rxjava.version>0.20.7</netflix.rxjava.version> <netflix.rxjava.version>0.20.7</netflix.rxjava.version>
......
...@@ -251,7 +251,7 @@ public class HystrixDashboardConfiguration { ...@@ -251,7 +251,7 @@ public class HystrixDashboardConfiguration {
&& CONNECTION_CLOSE_VALUE.equalsIgnoreCase(header.getValue())) { && CONNECTION_CLOSE_VALUE.equalsIgnoreCase(header.getValue())) {
log.warn("Ignoring 'Connection: close' header from stream response"); log.warn("Ignoring 'Connection: close' header from stream response");
} }
else { else if (!HttpHeaders.TRANSFER_ENCODING.equalsIgnoreCase(header.getName())) {
response.addHeader(header.getName(), header.getValue()); response.addHeader(header.getName(), header.getValue());
} }
} }
......
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
<a href="javascript://" title="Timed-out Request Count" class="line tooltip timeout"><%= addCommas(rollingCountTimeout) %></a> <a href="javascript://" title="Timed-out Request Count" class="line tooltip timeout"><%= addCommas(rollingCountTimeout) %></a>
<a href="javascript://" title="Threadpool Rejected Request Count" class="line tooltip rejected"><%= addCommas(rollingCountThreadPoolRejected) %></a> <a href="javascript://" title="Threadpool Rejected Request Count" class="line tooltip rejected"><%= addCommas(rollingCountThreadPoolRejected) %></a>
<% } %> <% } %>
<% if(propertyValue_executionIsolationStrategy == 'SEMAPHORE') { %>
<a href="javascript://" title="Semaphore Rejected Request Count" class="line tooltip rejected"><%= addCommas(rollingCountSemaphoreRejected) %></a>
<% } %>
<a href="javascript://" title="Failure Request Count" class="line tooltip failure"><%= addCommas(rollingCountFailure) %></a> <a href="javascript://" title="Failure Request Count" class="line tooltip failure"><%= addCommas(rollingCountFailure) %></a>
</div> </div>
<div class="cell borderRight"> <div class="cell borderRight">
......
...@@ -131,6 +131,8 @@ ...@@ -131,6 +131,8 @@
// }, false); // }, false);
source.addEventListener('error', function(e) { source.addEventListener('error', function(e) {
$("#dependencies .loading").html("Unable to connect to Command Metric Stream.");
$("#dependencies .loading").addClass("failed");
if (e.eventPhase == EventSource.CLOSED) { if (e.eventPhase == EventSource.CLOSED) {
// Connection was closed. // Connection was closed.
console.log("Connection was closed on error: " + JSON.stringify(e)); console.log("Connection was closed on error: " + JSON.stringify(e));
...@@ -166,6 +168,8 @@ ...@@ -166,6 +168,8 @@
// }, false); // }, false);
source.addEventListener('error', function(e) { source.addEventListener('error', function(e) {
$("#dependencies .loading").html("Unable to connect to Command Metric Stream.");
$("#dependencies .loading").addClass("failed");
if (e.eventPhase == EventSource.CLOSED) { if (e.eventPhase == EventSource.CLOSED) {
// Connection was closed. // Connection was closed.
console.log("Connection was closed on error: " + e); console.log("Connection was closed on error: " + e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment