Skip to content

Commit

Permalink
removed workaround to ignore delay on recovered partitions in monitor…
Browse files Browse the repository at this point in the history
…ing. regenerated templates
  • Loading branch information
frairon authored and db7 committed Dec 6, 2017
1 parent b52699d commit b3626d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions web/templates/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions web/templates/monitor/details.go.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@ <h3>Table statistics</h3>
var outputBytes = 0;
var inputDelay = -1;
// start with a chained operation on the Input of stats.
// if the table is recovered and we're displaying a processor
// let's omit the tableName's metrics from recovery, as they do not change
// anymore and just mess up our delay value in the frontend
var inputChain = _.chain(stats.Input);
if(stats.Table.Recovered && {{.renderType }} == "processor"){
inputChain = inputChain.omit({{.tableName}});
}
// if we do have values to get the avg from, let's take it.
// if we tried on an empty list, it would create a NaN
if(inputChain.size().value() > 0){
Expand Down

0 comments on commit b3626d9

Please sign in to comment.