assets.components.hystrixCommand.templates.hystrixCircuit.html Maven / Gradle / Ivy
<%= addCommas(rollingCountTimeout) %>
<% if(propertyValue_executionIsolationStrategy == 'THREAD') { %>
<%= addCommas(rollingCountThreadPoolRejected) %>
<% } %>
<% if(propertyValue_executionIsolationStrategy == 'SEMAPHORE') { %>
<%= addCommas(rollingCountSemaphoreRejected) %>
<% } %>
<%= addCommas(rollingCountFailure) %>
<% if(propertyValue_circuitBreakerForceClosed) { %>
[ Forced Closed ]
<% } %>
<% if(propertyValue_circuitBreakerForceOpen) { %>
Circuit Forced Open
<% } else { %>
<% if(isCircuitBreakerOpen == reportingHosts) { %>
Circuit Open
<% } else if(isCircuitBreakerOpen == 0) { %>
Circuit Closed
<% } else {
/* We have some circuits that are open */
%>
Circuit <%= isCircuitBreakerOpen.toString().replace("true", "Open").replace("false", "Closed") %>
<% } %>
<% } %>
<% if(typeof reportingHosts != 'undefined') { %>
Hosts
<%= reportingHosts %>
<% } else { %>
Host
Single
<% } %>
90th
<%= getInstanceAverage(latencyTotal['90'], reportingHosts, false) %>ms
Median
<%= getInstanceAverage(latencyTotal['50'], reportingHosts, false) %>ms
99th
<%= getInstanceAverage(latencyTotal['99'], reportingHosts, false) %>ms
Mean
<%= latencyTotal_mean %>ms
99.5th
<%= getInstanceAverage(latencyTotal['99.5'], reportingHosts, false) %>ms