Only index top results for which we have the full request (#2045)

This commit is contained in:
Risha Mars 2019-01-08 13:26:22 -05:00 committed by GitHub
parent a27bb2e0ce
commit 4e47e261fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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);