diff --git a/hystrix-dashboard/src/main/webapp/monitor/monitor.html b/hystrix-dashboard/src/main/webapp/monitor/monitor.html index e766540f7..15d0b3b3a 100644 --- a/hystrix-dashboard/src/main/webapp/monitor/monitor.html +++ b/hystrix-dashboard/src/main/webapp/monitor/monitor.html @@ -131,6 +131,8 @@

// }, false); source.addEventListener('error', function(e) { + $("#dependencies .loading").html("Unable to connect to Command Metric Stream."); + $("#dependencies .loading").addClass("failed"); if (e.eventPhase == EventSource.CLOSED) { // Connection was closed. console.log("Connection was closed on error: " + e); @@ -166,6 +168,8 @@

// }, false); source.addEventListener('error', function(e) { + $("#dependencyThreadPools .loading").html("Unable to connect to Thread Pool Metric Stream."); + $("#dependencyThreadPools .loading").addClass("failed"); if (e.eventPhase == EventSource.CLOSED) { // Connection was closed. console.log("Connection was closed on error: " + e);