mirror of https://github.com/linkerd/linkerd2.git
Only index top results for which we have the full request (#2045)
This commit is contained in:
parent
a27bb2e0ce
commit
4e47e261fc
|
@ -218,6 +218,11 @@ class TopModule extends React.Component {
|
|||
}
|
||||
|
||||
indexTopResult = (d, topResults) => {
|
||||
// only index if have the full request (i.e. init and end)
|
||||
if (!d.requestInit) {
|
||||
return topResults;
|
||||
}
|
||||
|
||||
let eventKey = this.topEventKey(d.requestInit);
|
||||
this.addSuccessCount(d);
|
||||
|
||||
|
|
Loading…
Reference in New Issue