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

reporter stream buffer is not emptied in all cases #446

Closed
vigneshshanmugam opened this issue Jan 28, 2022 · 1 comment · Fixed by #447 or #465
Closed

reporter stream buffer is not emptied in all cases #446

vigneshshanmugam opened this issue Jan 28, 2022 · 1 comment · Fixed by #447 or #465
Assignees
Labels
bug Something isn't working

Comments

@vigneshshanmugam
Copy link
Member

The issue was brought up when users were not seeing heartbeat/summary documents for some of the pages that has more than 200 network requests.

Example test is

step('load homepage', async () => {
  await page.goto('https://www.elastic.co');
});

When the agent is invoked from HB, the agent writes all the events in JSON format and sends journey/end event which is responsible for creating summary event in Heartbeat.

But in some cases we were not seeing the journey/end event and the node process is completed before draining all the items in the stream buffer.

@vigneshshanmugam
Copy link
Member Author

Seems like this issue still exists and can be reproduced for some pages. Opening it to find the root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant