Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Bad Request count to Hystrix dashboard #776

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,15 @@
.dependencies .success {
color: green;
}

.dependencies .shortCircuited {
color: blue;
}

.dependencies .timeout {
color: #FF9900; /* shade of orange */
}

.dependencies .failure {
color: red;
}
Expand All @@ -134,6 +137,10 @@
color: brown;
}

.dependencies .badRequest {
color: lightSeaGreen;
}

.dependencies div.monitor_data a.rate {
color: black;
font-size: 11pt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<div class="cell borderRight">
<a href="javascript://" title="Successful Request Count" class="line tooltip success"><%= addCommas(rollingCountSuccess) %></a>
<a href="javascript://" title="Short-circuited Request Count" class="line tooltip shortCircuited"><%= addCommas(rollingCountShortCircuited) %></a>
<a href="javascript://" title="Bad Request Count" class="line tooltip badRequest"><%= addCommas(rollingCountBadRequests) %></a>
<br>
</div>
</div>
Expand Down
7 changes: 7 additions & 0 deletions hystrix-dashboard/src/main/webapp/monitor/monitor.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,15 @@ h3.sectionHeader {
.success {
color: green;
}

.shortCircuited {
color: blue;
}

.timeout {
color: #FF9900; /* shade of orange */
}

.failure {
color: red;
}
Expand All @@ -93,6 +96,10 @@ h3.sectionHeader {
color: brown;
}

.badRequest {
color: lightSeaGreen;
}

@media screen and (max-width: 1100px) {
.container {
padding-left: 5px;
Expand Down
2 changes: 1 addition & 1 deletion hystrix-dashboard/src/main/webapp/monitor/monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2><span id="title_name"></span></h2>
<a href="javascript://" onclick="hystrixMonitor.sortByLatency995();">99.5</a>
</div>
<div class="menu_legend">
<span class="success">Success</span> | <span class="shortCircuited">Short-Circuited</span> | <span class="timeout">Timeout</span> | <span class="rejected">Rejected</span> | <span class="failure">Failure</span> | <span class="errorPercentage">Error %</span>
<span class="success">Success</span> | <span class="shortCircuited">Short-Circuited</span> | <span class="badRequest"> Bad Request</span> | <span class="timeout">Timeout</span> | <span class="rejected">Rejected</span> | <span class="failure">Failure</span> | <span class="errorPercentage">Error %</span>
</div>
</div>
</div>
Expand Down